GrumpyOldPizza / arduino-STM32L4

69 stars 60 forks source link

How can i flash the ladybug stm32 #19

Closed laterrps closed 6 years ago

kriswiner commented 6 years ago

Use the Arduino IDE?

On Fri, Oct 6, 2017 at 10:55 AM, laterrps notifications@github.com wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qlwXUAQ_yXDTxDsmr_V3SlJ73v6lks5spml3gaJpZM4Pw04r .

laterrps commented 6 years ago

I would like to use Keil uvision

kriswiner commented 6 years ago

OK, go ahead...

On Fri, Oct 6, 2017 at 11:32 AM, laterrps notifications@github.com wrote:

I would like to use Keil uvision

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/19#issuecomment-334835648, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qgHpahSSuyixitihvzN5dJ_jxLDOks5spnJXgaJpZM4Pw04r .

laterrps commented 6 years ago

I meant i have used stm32f103 and i programmed it with an ftdi rs232 i just changed boot0 to high and boot1 to low , can I do something similar with your board?

kriswiner commented 6 years ago

Maybe. If you don;t want to use the Arduino IDE maybe better to use an ST-Link.

On Fri, Oct 6, 2017 at 11:35 AM, laterrps notifications@github.com wrote:

I meant i have user stm32f103 and i programmed it with an ftdi rs232 i just changed boot0 to high and boot1 to low , can I do something similar with your board?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/19#issuecomment-334836377, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qjuvJvDUV61oC2EGS553wCTm7bUNks5spnMEgaJpZM4Pw04r .

laterrps commented 6 years ago

ok thank you very much! i will get one stlink! best regards

laterrps commented 6 years ago

I was using arduino IDE but some times it is necessary to take a look deeper on registers values! so i have gone for keil uvision it have very interesting tools for debugging, I know that some times it is different or difficult when we are starting to use a new tool chain but also some times it is necessary

GrumpyOldPizza commented 6 years ago

My workflow is to use the "Arduino IDE" to compile, and then "openocd" (which is part of the packge) along with gdb to debug.