LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

LV ARM 2010 Stellaris GPIO vi's crash

Hi developer of the luminary StellarisWare vi's in LV ARM 2010,

 

Trying out the newest LabVIEW for ARM version (2010) I saw there are nice StellarisWare vi's for using different peripherals of the LM3xxxx microcontroller.

building a simple program, putting LED's of the ethernet (pin F2 and F3) on and off, I noticed that my programm crashes.

 

When I saw the Ring control for selecting the PORT of the pin, I saw that there are 2 GPIO_PORT_F defined! (in hex 0x40025000 and 0x40027000) it tries to use my PORT_H now, but my lm3s8962 doesn't have a PORT_H.

 

This is by the vi's of GPIO Pin Write.vi, GPIO Dir Mode Set.vi and GPIO Pin Type GPIO Output.vi

 

so I changed all the ring controls (to the developer: why not 1 TypeDef ring control!?!?!?)

and voila it worked 🙂

 

Also when I first build a program with LV for ARM it gives an compile error: there is missing a ; in the source code. this is in the standard LV C code. (ARM_I2CWrapper.c near line 72)

 

Greetings,

 

 

Wouter

 

Wouter.
"LabVIEW for ARM guru and bug destroyer"
0 Kudos
Message 1 of 3
(6,126 Views)

Dear Wouter,

 

Thank you so much for your post on our webforum. Did you noticed this KB about pin mappings?

 

The missing ';' is a known issue, this was reported in Correction Action Request (CAR) 249822 and will be resolved in a future release.

 

Best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 2 of 3
(6,112 Views)

hi  ninlmartijn,

 

you're welcome.

 

No I didn't noticed that #20 error. I see that it's for LV 8.6?

I have LV 2009 for arm and 2010 for arm. I am also using one chip, the standard lm3s8962, on a own made PCB.

 

If I find more I will place it on the forum 🙂

 

Greetings,

 

Wouter

Wouter.
"LabVIEW for ARM guru and bug destroyer"
0 Kudos
Message 3 of 3
(6,109 Views)