Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I prepared a simple Nucleo project with LED output, interrupt button, ADC, UART, I2C and SPI. The code works fine with online ARMCC compiler. However when I export the project to Keil uvision4, the code stops at Hardfault.
They I prepared the simplest code as following:
When code runs into pc.printf(), when it hit BLX R1 instruction, it will go to an invalid address. I don't know what happens in the mbed platform. Does anyone knows about the issue?