Other Parts Discussed in Thread: MSP430F417
Tool/software: Linux
Hi, i try use the MSP Flasher on Raspberry but the library (libmsp430.so) is for Intel architectures. I need the library for ARM. There is some solution, for this?
Thanks!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi, i try use the MSP Flasher on Raspberry but the library (libmsp430.so) is for Intel architectures. I need the library for ARM. There is some solution, for this?
Thanks!
Okay I understand now, you are trying to program an MSP430 device using a Raspberry Pi. I did a quick search online and found some forums and threads with solutions using the dll's provided in the msp-debug-stack. Please refer to the following resources:
- Program TI Launchpad with Raspberry Pi
- E2E: MSP430F5309: MSPflasher compiled to run on ARM architecture
- 4-wire JTAG with mspdebug and Raspberry Pi GPIO
Best regards,
Matt
Part Number: MSP-FET
Tool/software: Linux
Hi,
I already compiled the library libmsp430.so, for ARM (Raspberry Pi 3 B), (slac460y from MSPDS-OPEN-SOURCE http://www.ti.com/tool/mspds) and i compiled MSPFlasher-1.3.18. I followed this tutorial: dlbeer.co.nz/.../index.html.
But, i have the next error:
* -----/|-------------------------------------------------------------------- *
* / |__ *
* /_ / MSP Flasher v1.3.18 *
* | / *
* -----|/-------------------------------------------------------------------- *
*
* Evaluating triggers...done
* Checking for available FET debuggers:
* Found USB FET @ ttyACM2 <- Selected
* Initializing interface @ ttyACM2...done
* Checking firmware compatibility:
* FET firmware is up to date.
* Reading FW version...done
* Setting VCC to 3000 mV...done
* Accessing device...
# Exit: 16
# ERROR: Device database not loaded.
* Powering down...done
* Disconnecting from device...done
*
* ----------------------------------------------------------------------------
* Driver : closed (No error)
* ----------------------------------------------------------------------------
It also compiled the same library (slac460y) for INTEL and y have the same error.
Best regards
Hi Agustin,
I went ahead and merged the new thread you made regarding your issues programming the MSP430 with the Raspberry Pi because it is a continuation of the support you are receiving on this thread. For future posts, please keep posts regarding the same issue local to the initial thread.
Please refer to the MSP Flasher User's Guide to see if the operating system you are using is actually supported by the software. In general, we do not support the Raspberry Pi platform so that is why I linked some articles and threads that might point you in the right direction.
Another option you have is to reach out to the Raspberry Pi support forum and community to see if anyone else has run into the same issue. Here are the following links for those forums:
- https://www.raspberrypi.org/forums/
- https://www.raspberrypi.org/community/
Best regards,
Matt
I uderstand this from your post:
1. You were able to compile libmsp430.so in Linux PC and connect to your device using mspdebug tilib command?
2. You are not able to reproduce the same in raspberry pi (with ARM hardware)
Is this correct? If not can you explain which part I did not undertand correctly?
Can you tell me what is the output when run 'mspdebug tilib' from command line, both in your pi and PC?
I had a similar issue for a different application:
It was solved by adding a call to MSP430_LoadDeviceDb() after MSP430_Initialize();
You can place this call in tilib driver files. In tilib.c, do_init() function initializes the connection for mspdebug tilib. Can you place a call to MSP430_LoadDeviceDb(NULL) right after MSP430_Initialize() and check if it works?
Also, can you also try using the latest version of mspdebug?
**Attention** This is a public forum