Search found 9 matches

by nami1216
Wed Sep 11, 2019 5:42 pm
Forum: STM32 Support
Topic: Print String with stm32f407 discovery
Replies: 3
Views: 2341

Re: Print String with stm32f407 discovery

Giovanni wrote:Hi,

You need to use a serial port and an serial/USB adapter I think.

Giovanni

Hi Giovanni,
May we use USB CDC for printing String?
if possible, do you have tutorial or how to setup USB CDC?
Thanks so much
by nami1216
Wed Sep 11, 2019 5:07 pm
Forum: STM32 Support
Topic: Print String with stm32f407 discovery
Replies: 3
Views: 2341

Print String with stm32f407 discovery

Hi friends,
May you tell me how to write or make program to print String from stm32f407 to eclipse when we run or debug program?
As you know stlink of stm32f407 does not use UART port. Do you have any guide for that.
Thanks so much
by nami1216
Sat Aug 31, 2019 6:07 pm
Forum: STM32 Support
Topic: Debugging Error of STM32f407 using Linux Ubuntu and openocd
Replies: 7
Views: 4055

Re: Debugging Error of STM32f407 using Linux Ubuntu and openocd

Self-built toolchains are a common cause of problems, we recommend using GCC built by ARM, they do patching on top of release code:

m

The VM is available here, all you need is VirtualBox, user/pass are chibios/chibios, launchers are in the task bar:

m

You need to combine the 3 files in a single ...
by nami1216
Sat Aug 31, 2019 5:50 pm
Forum: STM32 Support
Topic: Debugging Error of STM32f407 using Linux Ubuntu and openocd
Replies: 7
Views: 4055

Re: Debugging Error of STM32f407 using Linux Ubuntu and openocd

Self-built toolchains are a common cause of problems, we recommend using GCC built by ARM, they do patching on top of release code:

m

The VM is available here, all you need is VirtualBox, user/pass are chibios/chibios, launchers are in the task bar:

m

You need to combine the 3 files in a single ...
by nami1216
Sat Aug 31, 2019 5:35 pm
Forum: STM32 Support
Topic: Debugging Error of STM32f407 using Linux Ubuntu and openocd
Replies: 7
Views: 4055

Re: Debugging Error of STM32f407 using Linux Ubuntu and openocd

I think, you are using GDB for x86, this is why it fails.

Not sure, are you using ChibiStudio or a self built toolchain? You may try our pre-configured VM and verify differences.

Giovanni

Hello Giovanni.
I am not using ChibiStudio. I am using Eclipse Luna, Openocd 0.10 and Chibios 3.0.2. So ...
by nami1216
Sat Aug 31, 2019 5:18 pm
Forum: STM32 Support
Topic: Debugging Error of STM32f407 using Linux Ubuntu and openocd
Replies: 7
Views: 4055

Debugging Error of STM32f407 using Linux Ubuntu and openocd

Hi friends,
May you please give me some times to help.
I am trying to debug stm32f407 using Eclipse, openocd, and stlink.
During the debug, I got that error (image file)
Do you know the reason for that problem, I think problem is in halInit() function.
Thank you so much.
by nami1216
Fri Aug 23, 2019 12:59 am
Forum: STM32 Support
Topic: ChibiOS with Eclipse and stm32f405 in ubuntu linux
Replies: 6
Views: 5273

Re: ChibiOS with Eclipse and stm32f405 in ubuntu linux

Hi mikeprotts.
Actually, I used Eclipse, openocd, arm-none-eabi gcc, and STLink successfully before. That time I only programmed for blinkly led. Now I want to use ChibiOS to program. My problem is I do not know how to plugin ChibiOS into Eclipse. I am new for ChibiOS, So many steps, how to ...
by nami1216
Thu Aug 22, 2019 5:42 am
Forum: STM32 Support
Topic: ChibiOS with Eclipse and stm32f405 in ubuntu linux
Replies: 6
Views: 5273

Re: ChibiOS with Eclipse and stm32f405 in ubuntu linux

Hi Giovanni.
Thank you for your reply.
As you said, I have to download Linux VM.
Are there others ways? Now I want to use Eclipse and plug ChibiOS in it.
Thank you so much.
by nami1216
Wed Aug 21, 2019 5:14 pm
Forum: STM32 Support
Topic: ChibiOS with Eclipse and stm32f405 in ubuntu linux
Replies: 6
Views: 5273

ChibiOS with Eclipse and stm32f405 in ubuntu linux

Hi friends.
May you help me?
I am trying to program stm32f405. I want to use ChibiOS.
Because I am new for ChibiOS. May you tell me. How to setup ChibiOS into Eclipse (oxyden) in Ubuntu Linux?
Actually, I searched many time on internet how to setup ChibiOS, but nothing I found. So, I hope I can get ...