Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 21639

BOOSTXL-DRV8301: How to boot from flash -- read almost everything but can't get it to work

$
0
0

Part Number: BOOSTXL-DRV8301

Hi,

I've been up and down the information highway including this forum all day but still can't boot from Flash.

This must be something very simple and I'm sure I will feel like a complete idiot when the penny finally drops but here goes...

I'm working with:

BOOSTXL-DRV8301 + LAUNCHXL-F28027 and

CCS 5 + motorware-foc

Specifically:

C:\ti\motorware\motorware_1_01_00_12\sw\solutions\instaspin_foc\boards\boostxldrv8301_revB\f28x\f2802xF\projects\ccs5\proj_lab05b

I've modified the project so I can read two GPIO inputs (16&17) and one ADC channel (B6) and use them to control 

  gMotorVars.Flag_enableSys 

  gMotorVars.Flag_Run_Identify 

  gMotorVars.SpeedRef_krpm  

so that I do not need the debugger to be able to start the motor and control the speed.

Works like charm when launched from with CCS debugger.

If I set the boot mode switches as in attached picture (1=ON/UP, 2=ON/UP, 3=OFF/DOWN)

remove USB cable and power cycle the system the software does not start.

But as soon as I connect the USB cable the software starts (no need to start the debugger,

in fact, if I connect the USB cable to my Mac that is enough enough to induce the Launchpad

to boot from the Flash).

So I think I've got the program happily in the Flash and it can be run from there and it does

not need any interaction with/via the debugger but something

is wrong with my boot switches or some settings in the project, though from what I've read

I think the lab05b project should 'just work' with the correct boot switch settings.

I've read just about everything in this forum and TI documentation that I can find related to

this issue but have not been able to solve this.

I found an almost identical post in the forum about this issue but no cure.

All tips highly appreciated.

I can include the project files if that helps and if someone can tell me what files to include and where to find them ...

me and the way TI organises the stuff on the disk don't get along ;)

cheers Kusti

  


Viewing all articles
Browse latest Browse all 21639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>