strange behavior offline build

16 Nov 2014

Hi everybody, sorry for my english. I'm newbie to develop STM32 and about uP. I'have see a strange behavior if i build the same code with online and offline tools. I'have build the Hello World app to print the message in my pc this is the code: **

  1. include "mbed.h" Virtual serial port over USB Serial pc(USBTX, USBRX); int main(void) {

while(1) { pc.printf("I am a virtual serial port\n"); wait(4); } } ** The same code compiled online work weel and print he message every 4 secs. If I compile this code offline the output message doesn't appears, the message appears only one time and than it's blocked!!!! Thank for reply. Rico.

18 Nov 2014

Hi,

I've checked the exported project of NUCLEO-F411RE with uVision5.

The strings were emitted very fast more than 4 second.

This is strange behavior.

While the gcc project exported worked well.

mimi

18 Nov 2014

Hi,

Now it works well.

I changed as follows:

(1) uVision version up from v5.10 to v5.12.

(2) Project options:

Change "Device" to STM32F411RETx from F401RC .

Change "Target" Xtal to 100.0MHz from 84.0MHz.

That's all

mimi