libfirmware/pt2001/project/rusefi
rusefillc 128d087555 https://github.com/rusefi/rusefi/issues/6781
helping with RAM? helping with NO_CACHE?
2024-08-12 12:19:08 -04:00
..
Actuator stimulus and actuators for all 4 channels 2023-05-16 14:09:00 -07:00
Feedbacks stimulus and actuators for all 4 channels 2023-05-16 14:09:00 -07:00
Logic_Wave stimulus and actuators for all 4 channels 2023-05-16 14:09:00 -07:00
MicrocodeCh1 add 6ch logic 2023-05-16 14:45:00 -07:00
MicrocodeCh2 project 2022-07-21 14:10:00 -07:00
Registers set Isense4_high to 6.5A / 0x40, knowing our saturation is 17A 2023-08-19 14:52:05 -04:00
Simulator project 2022-07-21 14:10:00 -07:00
Stimulus stimulus and actuators for all 4 channels 2023-05-16 14:09:00 -07:00
sample_code https://github.com/rusefi/rusefi/issues/6781 2024-08-12 12:19:08 -04:00
.gitignore project 2022-07-21 14:10:00 -07:00
AutoLoad.xml project 2022-07-21 14:10:00 -07:00
labels.xml correctly set init address (!) 2023-05-16 13:31:42 -07:00
project.xml stimulus and actuators for all 4 channels 2023-05-16 14:09:00 -07:00
readme.md project 2022-07-21 14:10:00 -07:00

readme.md

Source code here is different from but is heavily inspired by MC33816 example as conveniently comes with MC33816 Dev Studio.

Workflow:

PT2001 Studio: Compiling/Generating C/header Files

  1. Open "PT2001 Developer Studio", and open project firmware/hw_layer/mc33816/rusefi/project.xml.
  2. Press the "Build" button at the right/center of the window to assemble the microcode.
  3. Use Tools -> Generate PT2001 Load Data Code to generate C/header files used by rusEFI to program the PT2001 over SPI at boot (see mc33816/rusefi/sample_code/).

PSC Simulator: Simulating microcode/config changes

  1. Follow "PT2001 Studio" steps to build the project first.
  2. Open "PSC Simulator", add the project if not added yet (Project -> Add Existing), and open it from the tree view.
  3. Press Compile All in the toolbar.
  4. In the top bar, push Run, and type in the desired simulation length. 4 ms (with a space) is a good starting point for the existing stimulus.
  5. Press OK on the Auto Load dialog box that comes up (all boxes checked).
  6. Wait for the simulation to run. There's an indication in the bottom left corner of the main window about simulation progress.
  7. Inspect the simulation results!

Just in case we have a backup of tools at https://github.com/rusefi/rusefi_external_utils/tree/master/NXP-GDI