Page 1 of 1

USB hangs up I2C

Posted: 22 Sep 2020 20:04
by dogburd
Hi,

I'm using a mikromedia7 for STM32F4 board. Using the USB library from LibStock I was able to successfully write files to a USB flash drive.

We've made a few small tweaks to the program in recent months, and just noticed that as soon as you plug in a flash drive, the program stops.

On the debugger I was able to determine that the program is in an endless loop in the I2C library module. It looks like it's trying to read from the touchpad controller. The only other thing on I2C is the accelerometer, and I'm not using that.

This might have happened when I upgraded from mikroBasic V6.0.0 to V6.1.0. I'm a little reluctant to install an older one over a newer one. Is there a way to have both installed, and select which one to use?

Any advice would be greatly appreciated.

Re: USB hangs up I2C

Posted: 13 Oct 2020 09:03
by filip
Hi,

I apologize for the late reply, have you been able to sort out this issue ?

Regards,
Filip.