LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I boot BF537 target to run stand-alone code

Solved!
Go to solution

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

0 Kudos
Message 1 of 7
(6,845 Views)

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

0 Kudos
Message 2 of 7
(6,822 Views)

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?

0 Kudos
Message 3 of 7
(6,813 Views)

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

0 Kudos
Message 4 of 7
(6,811 Views)

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.

0 Kudos
Message 5 of 7
(6,803 Views)

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

0 Kudos
Message 6 of 7
(6,795 Views)
Solution
Accepted by Stranman

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

0 Kudos
Message 7 of 7
(6,779 Views)