Porting to msp432

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
boniface
Posts: 13
Joined: Sat Apr 23, 2016 10:37 pm

Re: Porting to msp432

Post by boniface » Tue Jun 14, 2016 10:54 pm

In the Makefile, replace

Code: Select all

ROOT=drivers/
with

Code: Select all

ROOT=drivers

shaoziyang
Posts: 317
Joined: Sun Apr 17, 2016 1:55 pm

Re: Porting to msp432

Post by shaoziyang » Wed Jun 15, 2016 2:42 am

I modify ROOT=drivers, but it still get error.

CC build/_frozen_mpy.c
make: *** No rule to make target 'drivers/driverlib/MSP432P4xx/gcc/msp432p4xx_driverlib.a', needed by 'build/firmware.axf'. Stop.

And in folder "drivers/driverlib/MSP432P4xx", there is not gcc sub-folder, ther are only ccs and keil sub-folders.

boniface
Posts: 13
Joined: Sat Apr 23, 2016 10:37 pm

Re: Porting to msp432

Post by boniface » Wed Jun 15, 2016 8:28 pm

It is fixed now. i didn't get that error because my local directory had those missing files.

boniface
Posts: 13
Joined: Sat Apr 23, 2016 10:37 pm

Re: Porting to msp432

Post by boniface » Wed Jun 15, 2016 8:31 pm

cf33 wrote:I'm using ubuntu 14 and had the same issue. The /gcc/ folder was not in drivers/driverlib/MSP432P4xx/. I updated my driverlib folder with "MSP432_DriverLib_3_10_00_09" from TI's website and that issue is gone now.

It appears to compile with no errors. Did you use "xdsdfu" to load "firmware.bin" to the msp432 board?

Thanks

@cf33, i did not load the firmware to the board yet.
There is a tool from TI, http://www.ti.com/tool/msp430-flasher
update us if you try it out.

shaoziyang
Posts: 317
Joined: Sun Apr 17, 2016 1:55 pm

Re: Porting to msp432

Post by shaoziyang » Thu Jun 16, 2016 1:26 pm

boniface wrote:
cf33 wrote:I'm using ubuntu 14 and had the same issue. The /gcc/ folder was not in drivers/driverlib/MSP432P4xx/. I updated my driverlib folder with "MSP432_DriverLib_3_10_00_09" from TI's website and that issue is gone now.

It appears to compile with no errors. Did you use "xdsdfu" to load "firmware.bin" to the msp432 board?

Thanks

@cf33, i did not load the firmware to the board yet.
There is a tool from TI, http://www.ti.com/tool/msp430-flasher
update us if you try it out.
It seem that MSP430 flasher doesn't suppurt MSP432Launchpad board.

shaoziyang
Posts: 317
Joined: Sun Apr 17, 2016 1:55 pm

Re: Porting to msp432

Post by shaoziyang » Fri Jun 17, 2016 2:21 am

boniface wrote:
cf33 wrote:I'm using ubuntu 14 and had the same issue. The /gcc/ folder was not in drivers/driverlib/MSP432P4xx/. I updated my driverlib folder with "MSP432_DriverLib_3_10_00_09" from TI's website and that issue is gone now.

It appears to compile with no errors. Did you use "xdsdfu" to load "firmware.bin" to the msp432 board?

Thanks

@cf33, i did not load the firmware to the board yet.
There is a tool from TI, http://www.ti.com/tool/msp430-flasher
update us if you try it out.
I try to program board with a j-link lite, after porgram the firmware.bin, there are display nothing in comport, it is not work yet.

boniface
Posts: 13
Joined: Sat Apr 23, 2016 10:37 pm

Re: Porting to msp432

Post by boniface » Fri Jun 17, 2016 9:28 am

Did you use the MSPFlasher? what tool did you use?

shaoziyang
Posts: 317
Joined: Sun Apr 17, 2016 1:55 pm

Re: Porting to msp432

Post by shaoziyang » Fri Jun 17, 2016 3:07 pm

boniface wrote:Did you use the MSPFlasher? what tool did you use?
I try MSP flasher, but it can't connect MSP432 Launchpad.

I using a J-Link LITE CortexM-5V to program the firmware.
Image

Tetraeder
Posts: 53
Joined: Thu Mar 05, 2015 1:12 pm
Location: Germany

Re: Porting to msp432

Post by Tetraeder » Mon Jun 20, 2016 11:04 am

@boniface
Hi my board is arrived :)
I compiled successfully your repo in a Ubuntu 16 VM.
Did you use the MSP430 flasher http://www.ti.com/tool/msp430-flasher ?

boniface
Posts: 13
Joined: Sat Apr 23, 2016 10:37 pm

Re: Porting to msp432

Post by boniface » Mon Jun 20, 2016 1:37 pm

@Tetraeder
MSP430 flasher http://www.ti.com/tool/msp430-flasher ? did not work for me.
I was able to use Uniflash http://www.ti.com/tool/uniflash. But the results do not make sense yet.

Post Reply