Well, I've found the problem.
I just run app2 using st-link and write the value of every control register and then run app2 from bootloader, and compare control register values with previous one.
Preblem is that when you run app2 form bootloader CONTROL register value is 0x0000006 (so it is fpu ...
Search found 15 matches
- Tue Oct 13, 2015 1:52 am
- Forum: STM32 Support
- Topic: Bootloader jump problem
- Replies: 5
- Views: 3968
- Mon Oct 12, 2015 8:11 am
- Forum: STM32 Support
- Topic: Bootloader jump problem
- Replies: 5
- Views: 3968
Re: Bootloader jump problem
Any ideas? Even most stupid?
I just don't know what to check next.
I just don't know what to check next.
- Sun Oct 11, 2015 7:14 pm
- Forum: STM32 Support
- Topic: Bootloader jump problem
- Replies: 5
- Views: 3968
Re: Bootloader jump problem
Have you initialize the NVIC register that points to the vectors table? (VTOR) assuming the library code is supposed to do that, is it really initialized?
Giovanni
Yes, it was a first that I check. VECT_TAB_OFFSET definition is responsible for it:
/* Configure the Vector Table location add ...
Giovanni
Yes, it was a first that I check. VECT_TAB_OFFSET definition is responsible for it:
/* Configure the Vector Table location add ...
- Sun Oct 11, 2015 6:47 pm
- Forum: STM32 Support
- Topic: Bootloader jump problem
- Replies: 5
- Views: 3968
Bootloader jump problem
I wrote and bootloader using Chibios 3.0.x and an application using Chibios 3.0.x too (app1) and everything works fine: bootloader flahses and jumps to application.
But now i have to flash apllication written using just CMSIS and some st libraries (app2) and I have a problem. Application flashes ...
But now i have to flash apllication written using just CMSIS and some st libraries (app2) and I have a problem. Application flashes ...
- Mon Nov 10, 2014 11:21 pm
- Forum: STM32 Support
- Topic: ms6511 over spi
- Replies: 1
- Views: 1747
ms6511 over spi
I found some misunderstanding about SPI using.
I need to read some 16bit registers from MS5611:
http://zaripov.net/exch.png
If I try to read using non-blocking function:
txbuf[0] = MS5611_CMD_PROM_READ_C1;
txbuf[1] = 0x00;
rxbuf[0] = 0x00;
rxbuf[1] ...
I need to read some 16bit registers from MS5611:
http://zaripov.net/exch.png
If I try to read using non-blocking function:
txbuf[0] = MS5611_CMD_PROM_READ_C1;
txbuf[1] = 0x00;
rxbuf[0] = 0x00;
rxbuf[1] ...
- Sun Oct 19, 2014 8:22 pm
- Forum: General Support
- Topic: Available bytes in serail over USB
- Replies: 2
- Views: 1962
Re: Available bytes in serail over USB
Yes, it is good solution.
Thanks for fast reply!
Thanks for fast reply!
- Sun Oct 19, 2014 8:05 pm
- Forum: General Support
- Topic: Available bytes in serail over USB
- Replies: 2
- Views: 1962
Available bytes in serail over USB
Is it possible to know amount of available bytes in serail over usb? I can't find appropriate function to do this.
- Thu Oct 16, 2014 12:54 pm
- Forum: STM32 Support
- Topic: ChibiOS 3.0.0 and serial over usb
- Replies: 14
- Views: 9889
Re: ChibiOS 3.0.0 and serial over usb
Giovanni wrote:Which version of Keil? I am having problems with 5.10 using ST-Link too.
Giovanni
I have MDK-ARM ver 4.72.1.0
Before I didn't face with such problem. Only when include ChibiOS to my project I noticed it.
- Thu Oct 16, 2014 11:58 am
- Forum: STM32 Support
- Topic: ChibiOS 3.0.0 and serial over usb
- Replies: 14
- Views: 9889
Re: ChibiOS 3.0.0 and serial over usb
Problem is solved, everybody thanks for patience and help.
If someone is interesting, the problem is in the Keil or ST-Link I think. After compile and load program to the flash, program doesn't start or start incorrectly. If after loading program push reset button, everything inits and ...
If someone is interesting, the problem is in the Keil or ST-Link I think. After compile and load program to the flash, program doesn't start or start incorrectly. If after loading program push reset button, everything inits and ...
- Wed Oct 15, 2014 12:18 pm
- Forum: STM32 Support
- Topic: ChibiOS 3.0.0 and serial over usb
- Replies: 14
- Views: 9889
Re: ChibiOS 3.0.0 and serial over usb
which board are you used for? If is STM32F4-Discovery must worked like a charm,
Lately i used some custom board STM32F407, and have some trouble with USB-CDC. After some search in google i found this topic, http://forum.chibios.org/phpbb/viewtopic.php?f=2&t=936
Yeah i Forgot to connect VBUS in my ...
Lately i used some custom board STM32F407, and have some trouble with USB-CDC. After some search in google i found this topic, http://forum.chibios.org/phpbb/viewtopic.php?f=2&t=936
Yeah i Forgot to connect VBUS in my ...