Solved... it is not related with ChibiOS.
I was using the same script for flashing as for the STM32F4. Where I only erased 4 sectors.
4 sectors in F4 is 32KB, in the F100 is 4KB, therefore the flashing was wrong (the binary for the F100 was bigger than 4KB).
Search found 91 matches
- Mon Apr 22, 2013 10:20 am
- Forum: STM32 Support
- Topic: STM32F100 hangs with a simple Thread depending on the cfg
- Replies: 1
- Views: 3122
- Mon Apr 22, 2013 9:08 am
- Forum: STM32 Support
- Topic: STM32F100 hangs with a simple Thread depending on the cfg
- Replies: 1
- Views: 3122
STM32F100 hangs with a simple Thread depending on the cfg
Hi, sorry for the title, but I can not find a suitable one for describing what is happening here.
I am dealing with a STM32F100C8 (8KB RAM and 64KB Flash).
I have modified the linker script SM32F100xB with the new lenght of the Flash (before it was set to 128KB).
The next main works as expected ...
I am dealing with a STM32F100C8 (8KB RAM and 64KB Flash).
I have modified the linker script SM32F100xB with the new lenght of the Flash (before it was set to 128KB).
The next main works as expected ...
- Fri Apr 19, 2013 10:36 am
- Forum: General Support
- Topic: Serial over USB hangs if nobody is listening at the PC side
- Replies: 1
- Views: 2798
Serial over USB hangs if nobody is listening at the PC side
Probably this is a common issue and not only related with the USB CDC.
I have one Thread which sends every second two chars (one integer and one blank) with chprintf
while (TRUE) {
time += MS2ST(1000);
u++;
chprintf(stream_usb, "%d ", u);
palTogglePad(GPIOB, GPIOB_LED_BLUE ...
I have one Thread which sends every second two chars (one integer and one blank) with chprintf
while (TRUE) {
time += MS2ST(1000);
u++;
chprintf(stream_usb, "%d ", u);
palTogglePad(GPIOB, GPIOB_LED_BLUE ...
- Fri Apr 19, 2013 8:11 am
- Forum: STM32 Support
- Topic: Setting up the board.h for STM32F100
- Replies: 2
- Views: 4389
Re: Setting up the board.h for STM32F100
Thank you very much for your answers Giovanni.
The board is custom and I prefer JTAG with my current set up. I have put all of them at "8", and so far I can communicate with the micro without problems.
Good point about selecting the HSE instead of the output of the PLL, I will give it a try ...
The board is custom and I prefer JTAG with my current set up. I have put all of them at "8", and so far I can communicate with the micro without problems.
Good point about selecting the HSE instead of the output of the PLL, I will give it a try ...
- Thu Apr 18, 2013 11:09 am
- Forum: STM32 Support
- Topic: Setting up the board.h for STM32F100
- Replies: 2
- Views: 4389
Setting up the board.h for STM32F100
Hi,
whereas the setting up for STM32F4 is quite clear in board.h, in my opinion it is a little bit confusing for STM32F100.
I have taken the example for the DiscoveryVL board and I am trying to modify it. My board.h looks like
/*
* IO pins assignments.
*/
#define GPIOA_CH1 0
#define GPIOA ...
whereas the setting up for STM32F4 is quite clear in board.h, in my opinion it is a little bit confusing for STM32F100.
I have taken the example for the DiscoveryVL board and I am trying to modify it. My board.h looks like
/*
* IO pins assignments.
*/
#define GPIOA_CH1 0
#define GPIOA ...
- Sat Sep 29, 2012 8:45 am
- Forum: User Projects
- Topic: Navigation and Control Module (for UAVs) based on ChibiOS
- Replies: 9
- Views: 11134
Re: Navigation and Control Module (for UAVs) based on ChibiO
Hello Nitin
Where can I check the code?
Are also the schematics / board files available?
pd: Also I have found several times references to an "opensource RTOS" but not for ChibiOS
Where can I check the code?
Are also the schematics / board files available?
pd: Also I have found several times references to an "opensource RTOS" but not for ChibiOS
- Thu Aug 30, 2012 7:46 am
- Forum: ChibiStudio
- Topic: [New] Side project: ChibiToolchain
- Replies: 47
- Views: 50453
Re: [New] Side project: ChibiToolchain
Do you still have problems with OpenOCD and STLINKv1/2 ?
It seems that a new release candidate is out and they claim that it supports STLink, actually there is a .cfg specially for the discovery board.
It seems that a new release candidate is out and they claim that it supports STLink, actually there is a .cfg specially for the discovery board.
- Mon Aug 27, 2012 2:25 pm
- Forum: Development and Feedback
- Topic: ChibiOS OpenOCD support
- Replies: 179
- Views: 134597
Re: ChibiOS OpenOCD support
I missed this:
@dandys, I believe that __attribute__ is a GCC-specific extension.
Agree. But there can be some similar extensions for other compilers too (as is for packed structures for example). In this case some macros like KEEP_SYMBOL_BEGIN and KEEP_SYMBOL_END can be defined in chtypes.h. Are ...
@dandys, I believe that __attribute__ is a GCC-specific extension.
Agree. But there can be some similar extensions for other compilers too (as is for packed structures for example). In this case some macros like KEEP_SYMBOL_BEGIN and KEEP_SYMBOL_END can be defined in chtypes.h. Are ...
- Mon Aug 27, 2012 7:16 am
- Forum: Development and Feedback
- Topic: ChibiOS OpenOCD support
- Replies: 179
- Views: 134597
Re: ChibiOS OpenOCD support
mabl wrote:Giovanni, I think the ch_root symbol is automatically removed by the GCC garbage collection....
From my ignorance in programming but, can not you just declare it as "volatile"? then the compiler will not remove it.
- Thu Aug 16, 2012 8:20 am
- Forum: LCD Driver and Graphic Framework
- Topic: in search of a name
- Replies: 18
- Views: 17364
Re: in search of a name
ChLORIDE here!