Hi
I'm facing an issue regarding the semihosting mode with a STM32F207ZG (Cortex M3) and a J-Link (Lite).
I use the latest GNU ARM embedded 4.7 2013q2 and Eclipse.
Code :
Display All
Linker options :
as indicated in the GNU ARM Embedded readme.txt (launchpadlibrarian.net/143625601/readme.txt)
GDB command :
Initialization commands :
I get these errors in the J-Link GDB Server log (v4.76a)
I'm almost sure I missed something very basic...
Can you help ?
Thanks !
I'm facing an issue regarding the semihosting mode with a STM32F207ZG (Cortex M3) and a J-Link (Lite).
I use the latest GNU ARM embedded 4.7 2013q2 and Eclipse.
Code :
Source Code
- #include <stdio.h>
- int main(void)
- {
- RCC_ClocksTypeDef RCC_Clocks;
- STM_EVAL_LEDInit(LED4);
- /* Initialize User_Button */
- STM_EVAL_PBInit(BUTTON_USER, BUTTON_MODE_GPIO);
- /* SysTick end of count event each 1ms */
- RCC_GetClocksFreq(&RCC_Clocks);
- SysTick_Config(RCC_Clocks.HCLK_Frequency / 1000);
- while(1)
- {
- /* Check if the user button is pressed */
- if(STM_EVAL_PBGetState(BUTTON_USER) == 0) {
- printf("Hello World !\n");
- STM_EVAL_LEDOn(LED4);
- /* wait for 1s */
- Delay(1000);
- /* Turn off LED after 1s each time User button is pressed */
- STM_EVAL_LEDOff(LED4);
- }
- }
- }
Linker options :
as indicated in the GNU ARM Embedded readme.txt (launchpadlibrarian.net/143625601/readme.txt)
GDB command :
Initialization commands :
I get these errors in the J-Link GDB Server log (v4.76a)
I'm almost sure I missed something very basic...
Can you help ?
Thanks !
The post was edited 3 times, last by Efcis ().