Programmin​g STM32 with LV for arm module?

just asking if someone have experience with this.
maybe you can give some tips?
regards,
Wouter.
Wouter.
"LabVIEW for ARM guru and bug destroyer"

Almost 1,5 year later but,
I'm working now with the EK-LM3S8962.
you can programm the STM32 (primer) but you must be able to programm it with a keil debugger (JTAG)
de primer has a build in debugger (RLINK) and there's no RLINK plugin in KEIL uVision, yes i did try with DLL's
If I had time I would try it. But I am sure that it is possible
Wouter.
"LabVIEW for ARM guru and bug destroyer"

Similar Messages

  • Can I target the STM32 Primer2 hardware with LabVIEW for ARM

    The STM32 Primer2 hardware looks very cool.  Can LabVIEW for Arm target this hardware?  From looking at the list of ARM devices supported by LabVIEW, this would appears to be a Tier 2 device (ARM Cortex-M3) with no support for TCP/IP or IO.
    Can anyone tell me the feasibility or effort required to get TCP/IP, IO, and maybe even display support for this device? 
    Message Edited by Jim Kring on 09-11-2009 10:46 AM

    Have you ever said something you wish you could take back after having time to reflect upon it?  Another forum I like, http://newsbusters.org lets the author edit his posts for a short time.  Maybe NI could to that and I would not be pulling out my foot so often.
    Well, perhaps I was a bit more "colorful" than I meant to be.  Frustration does that to me sometimes.  Still the idea of a strong rope covered with disgusting risks does get the point across magnificently.  I just wish I had saved it for something more suitable.
    Let me think back to some of the problems I've had in which I've lost hours trying to figure out...
    1.  Can't use the Wait ms function.  It halts the program.  Express wait works fine.  It was sprinkled throughout which made it hard to isolate.
    2.  Some sub VIs don't run unless they are checked as inline code.  I don't yet understand why.
    3.  At the beginning of my main vi there was a small cluster in which I filled the data from an SD card file.  I used a constant of the cluster on the input of the Bundle function, but because my program and variable sizes were near the max I changed a number of variable representations to save memory.  ...But I didn't replace the constant.  The program started exhibiting really strange behaviors.  I couldn't even get a simple state machine to run.  I was reduced to commenting out (disable structure) sections to find the problem before noticing the coercion dot on the input to the bundle (The dot against the red string color doesn't stand out very strongly which is why I missed it).  Apparently it overwrote memory since the older cluster was significantly larger than the new.
    4.  Spent a lot of time trying to get the SD card to work with SPI functions.  Even though I read that 2009 supported SD card file services I didn't intuitively understand how to wire up since the Open/Create/Replace function has a ref num output which actually connects to the file(use dialog) input of the read and write functions.
    5.  Had a problem with breakpoints and probes not working.  That apparently was caused by item #3.
    6.  Typo bug in the Arm_irq.c file  LM3Sxxxx_GPIOCAHandlerP to LM3Sxxxx_GPIOCHandlerP
    Some of these are of the rope variety. A few are actual bugs.  All probably could have been solved in moments had I a local guru.  Anyway, I've spent hours and my hands hurt.  I hope to have this little project working on the LM3s8962 today and after some hardware changes will port it over to the Primer2... Hopefully...
    This forum has been a real help... especially your quick responses.
    regards to all,
    David 

  • Accessing Onboard ADC with LabVIEW for ARM

    I am working with the LM3S9062 Evaluation board and LabView for ARM system, and want to measure an analog voltage using the ADC, however I cannot determine which of the Digital Inputs is linked to the ADC. I need to know how the gpio mapping corresponds to the pinout of the Device.  Any thoughts?

    Do you mean the LM3s8962 evaluation board?  If so, the pins should be labeled accordingly on the board - ADC0, ADC1, ADC2, etc.
    Drop an EIO node with the same name as the pin and it should work fine from there.
    Here are the schamtics :  http://www.realview.com.cn/UploadFile/2008111510295067433.pdf

  • Post with clearing for inter module generated transactions

    Hi gurus,
    can we post creditnote in f-30 and clear the outstanding billing documents(SD) of the customer. Eg: if we poste credit note for Rs.5000 and can we clear some other billing documents worth Rs.15000/-  against the credit entry passed in FI ie either in fb75 or f-30 etc...
    pls thro some light on the issue
    regards
    sskk
    Edited by: eshwar chary on Apr 22, 2008 8:34 PM

    Dear Bharath,
    still iam not very clear, i will explain you with scenario,
    there is a client requiremt is that, they dont want to pass credit memo throu vf01, he want to issue credit notes only thour fb75 or f-30 with celaring option.
    if we pass any credit memo in fi directly throu either fb75 or f-30 against any outstanding sales invoice(RV type), it is not clearing immediately where as the net amount of outstanding is coming down, it will create number of line items. even after doing partial or residual payments also, the line items are not celaring from open items.
    guide me if possible

  • Use of "Archive Source Files with Errors" for BIC module error

    Hi All,
    I have Edi file to Idoc scenario , where i am using SEEBURGER BICXIADAPTER.MODULE.
    My question is if the input file caught in error with BIC Module e.g
    "MP: exception caught with cause Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: SegmentDescription: checkAndResetChildrenCounter() not enough repetitions of the segment UNH found: 0 instead of 1 offset :80 DESCRIPTION: SegmentDescription Warning: Not enough repetitions of the segment UNH ([not specified]/[not specified])."
    can we move these errornous files to another directory using Processing parameter  "Archive Source Files with Errors" available with Sender File Adapter?
    In File Adpater my Module tab looks like :
    1     localejbs/CallBicXIRaBean     Local Enterprise Bean     bic
    2     localejbs/CallSapAdapter     Local Enterprise Bean     0
    In my scenario  , its not working..  do we have any other option to achive this?

    Hi Jyoti,
    I had a raised a similar case with SAP and came to know that archiving only works if the error raised by the module is so called "Permanent". However, bic doesn't raise permanent error due to which archiving of error files won't be possible. Seeburger haven't came up with a solution yet.
    Regards,
    Prateek

  • Error ! ADC with LabVIEW for ARM

    I cannot get the wave Amplitude and frequency? I don't know how to use ADC !
    thanks!

    Do you mean the LM3s8962 evaluation board?  If so, the pins should be labeled accordingly on the board - ADC0, ADC1, ADC2, etc.
    Drop an EIO node with the same name as the pin and it should work fine from there.
    Here are the schamtics :  http://www.realview.com.cn/UploadFile/2008111510295067433.pdf

  • Can I use my custom board with LPC2378 processor with ULINK2 on Embedded module for ARM and LV.

    Issues in ARM and LV
    Can I use my custom board with LPC2378 processor with ULINK2 on Embedded module for ARM and LV.How can I create my elemental I/O vis or I have to use the existing Keil board vis. Confused. Please help.
    I have LV8.6. Which ver of embedded module for ARM should I buy. Website shows combined price for ARM module and LV. But I already have LV8.6 so what is the cost of module.
    Regards
    Shradha

              If the processor of your development board  is the cortex-M3 core, I think you do not have to buy keil board. Now, there are a lot of OS and emulator suitable for Cortex-M3.
              Operating system I am referring to  is the real time operating system such as keil RTX,uCOS,FreeRTOS,CooCox CoOS and so on. CooCox CoOS is very new, you can get more information from http://coocox.org/ .
              Emulator or debugging tools such as ULINK2,st-link,Jlink,CooCox Colink and so on. CooCox Colink is also very new.  You can download the Colink Plugin from here Colink Plugin . 

  • Did any body success to toggel Port0 and Port1 on MCB2300 board using LV for ARM?

    I am trying to toggel the GPIO (Port0, Port1) on MCB2300 evaluation kit with LPC2378 uController on board using LV8.6. these two ports seems to dont have any programmable functionalities using LV. Ports 2, 3 and Port4 are working good. If any body got these two ports in working, so it will be great if you could post a functional LV or C code here in the forum.
    I will be thankful for any suggestions or tips.
    Greetings
    Solved!
    Go to Solution.

    Thank you very much Gmg for
    this excellent answer.
    This modification makes
    also a +ve affect on the I2C port0.
    Where I had/have also a problem to communicate
    with a slave device using I2C. After this modification the I2C-CLK works, but I
    still getting no communication to my slave device. I think the problem is now
    how shall I use the I2C VIs shipped with LV for ARM embedded?
    I have posted this question
    here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=370126&jump=true#M370126
    so if you could answer me
    PLZ post your answer there. 

  • How to use USB interface with LabVIEW Embedded for ARM

    Hi everybody.
    I am developing an application based on the "LabVIEW Embedded for
    ARM". Now I am doing various tests using
    the evaluation board 2300 (with NXP LPC2378), but soon I will
    dedicate to program the micro used in my project (NXP
    LPC2148).
    During the tests, I have seen that "default" LabVIEW interface allows the use
    of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
    USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
    USB_CONNECT, VBUS).
    Thanks in advance for your suggestions

    @chueco85
    If you've created an application in LabVIEW for ARM and you build it.
    you can go to tools >> ARM Module >> Show Keil uVision
    then go to he build options.
    the hex file will be created when you do a build.
    with flash magic :http://www.flashmagictool.com/
    you can program your device.
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

  • LV Embedded with Keil toolchain for ARM 7 series

    Hello,
    has anybody use LV Embedded with Keil toolchain for ARM processors? We have this development tools in the company ( used by C group of programmers ) and I would like to hook LV Embedded to this toolchain. We also have Phytec phyCORE-LPC2294 development kit.
    Any suggestions where to start?
    Regards,
    Romp

    Hi,
    There is a way to hook LabVIEW into MicroVision. It has a TCP/IP interface called UVSock. I am attaching documentation on the interface to this message.
    Michael P
    National Instruments
    Attachments:
    UVSock.zip ‏19 KB

  • How to scan with my deskjet f2480 in Windows RT for ARM-processor based tablets or computers.

    How do I scan a document with my HP Deskjet F2480  in Windows RT for ARM-processor based tablets or computers? I have a microsoft Surface tablet and have no problem printing  but it refuses to recognise my deskjet for scanning I have downloaded HP Scan and capture application but no joy

    Hi Billjames0151, welcome to the HP Forums. If one of these methods do not enable you to scan on RT:  How to Scan Windows RT or Windows 8 Tablets
    Then you should try reinstalling it using this method: Install the Printer Software in Windows RT or Windows 8 on a Tablet
    I hope that helps.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Windows 8.1 ADK Error with CopyPE for the ARM architecture

    Hi folks,
    I am following the command line page for COPYPE ( https://technet.microsoft.com/en-us/library/hh825071.aspx )
    If I read this correctly, I should use the following command :
    copype arm C:\winpe_arm
    The Copype.cmd file has nothing in it that accounts for ARM.
    Furthermore, the Windows Preinstallation Environment Folder only has subfolders for amd64 and x86.
    Where exactly is the ARM support ?
    Thanks

    Hi,
    Based on my test, this phenomenon should be caused by lack of ARM directory in Windows Preinstallation Environment directory.
    Roger Lu
    TechNet Community Support

  • Labview arm module

    hi every one,
            my project is remote patient monitoring using arm with labview based embedded plotform..I have the  arm7  LPC(2378)  processor  . can i use import labview arm module in that processor...also give some useful link to the project...

    Don't know about your project, but LabVIEW Embedded Module for ARM Microcontrollers "project" is here:http://www.ni.com/arm/

  • Problem with JNI for target armlinux

    Dear friends,
    We have compiled CVM for ARM Linux and it is working fine for java programs as well as C programs.
    But when I try to make shared library out of a sample hello world JNI program for arm linux it says 'jni.h: No such file or directory' and after that many lines 'syntax error' and 'parse error' etc.
    But the same program is running fine on x86 linux. Problem only while cross compiling for arm linux. It is not problem with arm-v5t-le-gcc because that is working fine. Problem is with what I need to include in makefiles.
    As I am new to this domain could anyone help me where I am missing?
    Regards
    Kishore

    I'm not exactly sure what you're talking about, but it sounds like you may need to look into global references. Look at NewGlobalRef() and DeleteGlobalRef() and see if those help you out.
    God bless,
    -Toby Reyelts
    For all your JNI woes, check out Jace - http://jace.reyelts.com/jace

  • LabVIEW for ARM 2009 Read from text file bug

    Hello,
    If you use the read from text file vi for reading text files from a sdcard there is a bug when you select the option "read lines"
    you cannot select how many lines you want to read, it always reads the whole file, which cause a memory fault if you read big files!
    I fixed this in the code (but the software doesn't recognize a EOF anymore..) in CCGByteStreamFileSupport.c
    at row 709 the memory is allocated but it tries to allocate to much (since u only want to read lines).
    looking at the codes it looks like it supposed to allocated 256 for a string:
    Boolean bReadEntireLine = (linemode && (cnt == 0)); 
    if(bReadEntireLine && !cnt) {
      cnt = BUFINCR;    //BUFINCR=256
    but cnt is never false since if you select read lines this is the size of the file!
    the variable linemode is also the size of the file.. STRANGE!
    my solution:
    Boolean bReadEntireLine = (linemode && (cnt > 0));  // ==
     if(bReadEntireLine) {    //if(bReadEntireLine && !cnt) {
      cnt = BUFINCR;
    and now the read line option does work, and reads one line until he sees CR or LF or if the count of 256 is done.
    maybe the code is good but the data link of the vi's to the variables may be not, (cnt and linemode are the size of the file!)
    count should be the number of lines, like chars in char mode.
    linemode should be 0 or 1.
    Hope someone can fix this in the new version!
    greets,
    Wouter
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

    I have another solution, the EOF works with this one.
    the cnt is the bytes that are not read yet, so the first time it tries to read (and allocate 4 MB).
    you only want to say that if it's in line mode and cnt > 256 (BUFINCR) cnt = BUFINCR
    the next time cnt is the value of the bytes that are not read yet, so the old value minus the line (until CR LF) or if cnt (256) is reached.
    with this solution the program does not try to allocate the whole file but for the max of 256.
    in CCGByteStreamFileSupprt.c row 705
     if(linemode && (cnt>BUFINCR)){
       cnt = BUFINCR;
    don't use the count input when using the vi in line mode. count does not make sense, cnt will be the total file size. also the output will be an array.
    linemode seems to be the value of the file size but I checked this and it is just 0 or 1, so this is good
    update: damn it doesn't work!
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

Maybe you are looking for