Hello everyone
I have a question about flashing STM32 controllers
I have created a project on a Nucleo64-L476RG and now I want to flash the program on an STM32L475VCT6. Unfortunately I do not know exactly whether it is possible at all and if so at which points in the config I have to make adjustments.
In addition, I use an ST-Link v2 to flash the L475, now. Starting the openocd with the L4-nucleo.cfg was correct or not?
I tried to flash the code but I got this message in the console window.
symbol-file C:\\ChibiStudio\\workspace_user\\SW_Slave_V2\\build\\ch.elf
Reading symbols from C:\ChibiStudio\workspace_user\SW_Slave_V2\build\ch.elf...done.
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0x0800168e in stm32_clock_init () at ../../chibios191/os/hal/ports/STM32/STM32L4xx/hal_lld.c:239
239 while ((RCC->BDCR & RCC_BDCR_LSERDY) == 0)
monitor reset init
monitor sleep 50
load C:\\ChibiStudio\\workspace_user\\SW_Slave_V2\\build\\ch.elf
Loading section .vectors, size 0x1a0 lma 0x8000000
Loading section .text, size 0x6650 lma 0x80001a0
Loading section .rodata, size 0x5a0 lma 0x80067f0
Loading section .data, size 0x268 lma 0x8006d90
Start address 0x8000278, load size 28664
Transfer rate: 28 KB/sec, 5732 bytes/write.
tbreak main
Temporary breakpoint 1 at 0x80050c4: file main.c, line 47.
continue
Continuing.
Note: automatically using hardware breakpoints for read-only addresses.
Exception condition detected on fd 672
Remote communication error. Target disconnected.: No such file or directory.
Quit
Quit
Greetings.
Use Chibistudio with STM32L475VCT6
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: Use Chibistudio with STM32L475VCT6
Hi,
Are you using the latest ChibiStudio? it includes a tool to generate debug configurations automatically:
viewtopic.php?f=7&t=2119&start=10#p37668
Using L4-nucleo config is correct.
Giovanni
Are you using the latest ChibiStudio? it includes a tool to generate debug configurations automatically:
viewtopic.php?f=7&t=2119&start=10#p37668
Using L4-nucleo config is correct.
Giovanni
Who is online
Users browsing this forum: No registered users and 5 guests