yes giovani i understand that i must not work with openocd.
i am using the gbd server, program goes to psp = SYMVAL(__process_stack_end__);
then i press step, and it goes to void _unhandled_exception(void)..
am i missing something?
in debug conmfigurations, the startup tab has not any "start ...
Search found 10 matches
- Wed Apr 25, 2012 7:53 am
- Forum: General Support
- Topic: stm32f4 st-link +openocd
- Replies: 10
- Views: 10110
- Wed Apr 25, 2012 7:44 am
- Forum: General Support
- Topic: stm32f4 st-link +openocd
- Replies: 10
- Views: 10110
Re: stm32f4 st-link +openocd
yeah i noticed and changed the post!
after starting in crt0.c the "_unhandled_exception" is called.
after starting in crt0.c the "_unhandled_exception" is called.
- Wed Apr 25, 2012 7:29 am
- Forum: General Support
- Topic: stm32f4 st-link +openocd
- Replies: 10
- Views: 10110
Re: stm32f4 st-link +openocd
I followed the "Using ST-Link into an Eclipse environment" and after starting in crt0.c the "_unhandled_exception"
is called..
any idea about the error?
is called..
any idea about the error?
- Wed Apr 25, 2012 7:17 am
- Forum: General Support
- Topic: stm32f4 st-link +openocd
- Replies: 10
- Views: 10110
Re: stm32f4 st-link +openocd
i am working withe the stm32f4 discovery and st-link, so the olimex in the .cfg is not correct i guess.
could you give me the right one please?
it gives an error:" unable to open ftdi device:device not found
in procedure init"
thanx
could you give me the right one please?
it gives an error:" unable to open ftdi device:device not found
in procedure init"
thanx
- Wed Apr 25, 2012 6:20 am
- Forum: General Support
- Topic: stm32f4 st-link +openocd
- Replies: 10
- Views: 10110
stm32f4 st-link +openocd
Hi giovanni,
Can you give more info about your saying "In order to start a debugging session first make sure that OpenOCD is running" in the eclipse tutorial?
how can i startup the openocd under windows? what commands should i issue in cygwin?
Can you give more info about your saying "In order to start a debugging session first make sure that OpenOCD is running" in the eclipse tutorial?
how can i startup the openocd under windows? what commands should i issue in cygwin?
- Fri Apr 20, 2012 6:45 pm
- Forum: General Support
- Topic: Chibios+Lwip
- Replies: 3
- Views: 4884
Re: Chibios+Lwip
In lwip, i have a thread that is waiting for a semaphore, and a vector routine that is called every time the ethernet receives a packet. I use stm32f4 drivers, without the hall. Some times the system freezes, and no thread is working. Is something wrong with the way the interrupt communicates with ...
- Thu Apr 19, 2012 6:55 pm
- Forum: General Support
- Topic: Process Stack Size
- Replies: 5
- Views: 4360
Re: Process Stack Size
yes i know that it is ported, but when i set _FS_REENTRANT to 1 into ffconf.h, i get compilation errors( etc winsect in not a field of FATFS..)
or that chHeapFree() has too many arguments .
you have chHeapFree(NULL, mblock); instead of chHeapFree(mblock) in ff_memfree
you have to define _SYNC_ as ...
or that chHeapFree() has too many arguments .
you have chHeapFree(NULL, mblock); instead of chHeapFree(mblock) in ff_memfree
you have to define _SYNC_ as ...
- Thu Apr 19, 2012 6:47 pm
- Forum: General Support
- Topic: Process Stack Size
- Replies: 5
- Views: 4360
Re: Process Stack Size
If main() calls 4 threads, with 1kb stack each, should i set the main stack to 4kb? (99.9% no, but i am asking)
Also, FATfs has in the ff.h the code below:
#if _FS_REENTRANT
_SYNC_t sobj; /* Identifier of sync object */
#endif
what value should we define for the _SYNC_t?
the default is:
#define ...
Also, FATfs has in the ff.h the code below:
#if _FS_REENTRANT
_SYNC_t sobj; /* Identifier of sync object */
#endif
what value should we define for the _SYNC_t?
the default is:
#define ...
- Wed Apr 18, 2012 10:05 pm
- Forum: General Support
- Topic: Process Stack Size
- Replies: 5
- Views: 4360
Process Stack Size
Hi,
i saw the definitions below in the assembly file
main_stack_size EQU 0x00000400
00034
00035 ;// <h> Process Stack Configuration
00036 ;// <o> Process Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
00037 ;// </h>
00038 proc_stack_size EQU 0x00000400
00039
00040 ;// <h> C-runtime heap size
00041 ...
i saw the definitions below in the assembly file
main_stack_size EQU 0x00000400
00034
00035 ;// <h> Process Stack Configuration
00036 ;// <o> Process Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
00037 ;// </h>
00038 proc_stack_size EQU 0x00000400
00039
00040 ;// <h> C-runtime heap size
00041 ...
- Wed Apr 11, 2012 5:30 pm
- Forum: General Support
- Topic: Chibios+Lwip
- Replies: 3
- Views: 4884
Chibios+Lwip
Hi all,
I was looking the ARM7-AT91SAM7X-LWIP-GCC example, and i saw that there is a thread called < msg_t lwip_thread(void *p) >
This is normaly not needed by the Lwip (I mean that only the ethernetif.c, sys_arch.c etc files need to be ported)
Then why is this thread used? Is there any ...
I was looking the ARM7-AT91SAM7X-LWIP-GCC example, and i saw that there is a thread called < msg_t lwip_thread(void *p) >
This is normaly not needed by the Lwip (I mean that only the ethernetif.c, sys_arch.c etc files need to be ported)
Then why is this thread used? Is there any ...