Other Parts Discussed in Thread: DRV8301-69M-KIT, DRV8301, INSTASPIN-BLDC, MOTORWARE
Dear TI Team,
I hope this email finds you well. I have been working on motor control using the TMS320F28069M microcontroller to drive a BLDC motor. For my custom hardware development, I referred to the DRV8301-69M-KIT.
Here are the key points of my project:
-
Hardware Reference:
- I used the DRV8301-69M-KIT as my hardware reference. This evaluation board features the DRV8301 gate driver and the InstaSPIN-enabled Piccolo TMS320F28069M MCU.
-
Motor Control Approach:
- To achieve Field-Oriented Control (FOC) for my BLDC motor, I utilized INSTASPIN-BLDC. This software solution provides sensorless control for BLDC motors.
-
Custom Code Integration:
- I successfully integrated my custom code into the proj_lab05g example from the MotorWare package. The code compiles and runs flawlessly in RAM.
-
FLASH Build Errors:
- However, when I switch the build configuration to FLASH, I encounter errors. Specifically, I need assistance with resolving these issues. Unfortunately, I am unable to attach the screenshot directly to this email, but I provided CCS screenshot error messages with this mail.
- In the Code section, I got an error.
- #ifdef FLASH
#pragma CODE_SECTION(mainISR,"ramfuncs");
#endif
-
Troubleshooting Steps:
- I have already checked the memory configuration, initialization routines, and FLASH programming. However, I believe I might be missing something critical during the transition from RAM to FLASH.
- Could you guide me on the correct initialization and boot code for FLASH builds?
- Additionally, I would appreciate any insights into handling FLASH programming errors.
Thank you for your support, and I look forward to your guidance on resolving the FLASH build errors. If you need additional details or specific error messages, please let me know.
Best regards,
Ram Singh
