06-28-2010 10:13 AM - edited 06-28-2010 10:14 AM
I've been running debug code on my BF537 target successfully, but I'm uncertain how to deploy or download code that will execute from boot up w/ no JTAG tether? I've been running in Boot mode 6 (TWI host slave mode).
I tried removing the Debug Option in the Build Options, then deploying to Target. Changed Boot Mode to 0 (External Memory) & 1 (Flash Memory), but that didn't work?
What am I missing?
EDIT: I'm running LabView 2009.
Any insight is much appreciated! I feel this should be fairly simple?
Thanks
Solved! Go to Solution.
06-29-2010 09:32 AM
Saving a Program to the Flash Memory of an ARM Microcontroller
I will see to it that this article includes the keyword "Blackfin" such that it comes up in future searches. The instruction is the same regardless of the ARM or Blackfin target.
Kevin S.
Applications Engineer
National Instruments
06-29-2010 03:12 PM
No luck booting from flash...
- Set Target Boot switch to Boot from Flash (1)
- Built application (with no debugging) - no issues
- Deployed to Target - no issues
- Run Target - no issues, Code running (a simple serial Tx loop)
- Remove JTAG - no issues, code continues to run
- Cycle Target power - Code does not restart (no serial stream)
Am I missing something?
06-29-2010 03:41 PM - edited 06-29-2010 03:43 PM
Do you have the lwIP stack enabled in the build spec? If so, you have to have an ethernet cable plugged into the board before the code will start. (Plug in the cable before the reboot.)
Why Won't My Blackfin Code Start Running?
Kevin S.
Applications Engineer
National Instruments
06-29-2010 06:25 PM
Unfortunately not. See attached for all settings.
I'm also using the Blackfin toolkit under evaluation. Not sure if that matters, as it says its fully functional for 30 days.
06-30-2010 05:31 PM
Stranman,
Give me just a bit to get a working Blackfin system. (The current version of the VDSP++ compiler used in LabVIEW 2009 doesn't play well with Windows 7 or VmWare.)
Kevin S.
Applications Engineer
National Instruments
07-01-2010 03:07 PM - edited 07-01-2010 03:08 PM
Stranman,
I apologize - the instructions for generating startup code for Blackfin processors are indeed different. They are outlined here:
Programming the Flash Memory of the ADSP-BF537 EZ-KIT Lite
Kevin S.
Applications Engineer
National Instruments