USB hangs up I2C

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
dogburd
Posts: 15
Joined: 10 Apr 2013 16:56

USB hangs up I2C

#1 Post by dogburd » 22 Sep 2020 20:04

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.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: USB hangs up I2C

#2 Post by filip » 13 Oct 2020 09:03

Hi,

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

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for ARM General”