ACS_pi
Posts: 3
Joined: Sun Dec 15, 2013 6:16 pm

Loading Cortex M4's

Sun Dec 15, 2013 6:21 pm

Hi,

Im currently working on a project where I have the pi connected to a motor control board via SPI & I2C that contains 3 TI Tiva Cortex M4's. Is there a loader tool available in order to take executable program files from my IDE and write to the ARM memory space via the SPI bus? If not does anyone know if this is strictly possible?

Thanks

User avatar
Tage
Posts: 287
Joined: Fri May 24, 2013 2:29 am
Location: St Thomas, Ontario Canada

Re: Loading Cortex M4's

Mon Dec 16, 2013 2:34 am

I don't know what I am talking about, but try googling "espruino" and "micro python"

Elethan
Posts: 2
Joined: Thu Mar 06, 2014 6:21 pm

Re: Loading Cortex M4's

Thu Mar 06, 2014 7:01 pm

Hi
Sorry I can't help you, I'm a complete newbie on ARM development, but I recently got a Tiva c and I was thinking something like your project would be great for learning. Can you share with us some guidelines on how to implement it? (Raspberry pi as master, Tiva as slave to do things like motor control, read sensors etc)

Thanks

ACS_pi
Posts: 3
Joined: Sun Dec 15, 2013 6:16 pm

Re: Loading Cortex M4's

Fri Mar 21, 2014 3:02 pm

Hi Elethan,

Sorry about the lateness of this reply. Ive had success in the form of being able to write programs to the Tiva from the pi. Its all reasonably well documented in the ROM user guide available on the TI website. Once you enable the SPI (I followed this guide: http://hertaville.com/2013/07/24/interf ... i-using-c/) you can communicate with the boot loader via the specified command bytes, all worked reasonably easily.

Hope this helps.

Elethan
Posts: 2
Joined: Thu Mar 06, 2014 6:21 pm

Re: Loading Cortex M4's

Sat Mar 22, 2014 9:15 pm

Thank you, much appreciated!

reflexpnt
Posts: 7
Joined: Tue Feb 16, 2016 2:29 pm

Re: Loading Cortex M4's

Tue Feb 16, 2016 2:44 pm

ACS_pi, Could you share any link / info to help me implement an update firmaware to a microprocessor tiva c connected SPI with RPI.?

DirkS
Posts: 9967
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Loading Cortex M4's

Tue Feb 16, 2016 2:51 pm

reflexpnt wrote:ACS_pi, Could you share any link / info to help me implement an update firmaware to a microprocessor tiva c connected SPI with RPI.?
I wouldn't hold my breath waiting for a response.
It looks as if the OP hasn't been here for almost 2 years.

reflexpnt
Posts: 7
Joined: Tue Feb 16, 2016 2:29 pm

Re: Loading Cortex M4's

Tue Feb 16, 2016 2:57 pm

Ok, thanks. I will try later in a new post.

Return to “Interfacing (DSI, CSI, I2C, etc.)”