Question
USB VirtualComPort Loopback
Posted on May 14, 2013 at 14:04
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: NVIC_SetVectorTable(NVIC_VectTab_FLASH,0x3000); 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. #usb #virtualcomport