AnsweredAssumed Answered

USB VirtualComPort Loopback

Question asked by Ivan Z. on May 14, 2013
Latest reply on May 15, 2013 by Ivan Z.
Dear collegues,

I experience a trouble with writing code for STM32L152VBT. Let me explain sequentially.

I had my PCB with chip STM32L152VBT.
I took the example project from STM32_USB-FS-Device_Lib_V4.0.0 and adopt to my chip. Run the project. Everything work perfectly. OK.

Because I planned to use USB loader, I corrected memory boundaries with agreement UM0424 (USB-FS-Device development kit): ROM start from 0x08003000 and add line in my code:
Compile the project. It seems everything OK.

As soon I had added my code, the program crashed. Sometimes it stopped at adress below 0x08003000. Sometimes chip couldn't be stopped at all!

I have no idea what to do.

What is the trouble? In which direction should I dig? Help!

Best regards,
Ivan Z.