Search found 15 matches

by dogburd
22 Sep 2020 20:04
Forum: mikroBasic PRO for ARM General
Topic: USB hangs up I2C
Replies: 1
Views: 1322

USB hangs up I2C

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 debugge...
by dogburd
18 Feb 2020 16:39
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

Re: USB MSC demo for STM32 doesn't recognize device

It looks like some event happens about five seconds after powerup/reset. Before this, it looks like everything works. Afterward, the system either hangs or doesn't. If it doesn't, then it seems to be fine from then on. I've noticed that with one USB stick, the system hangs almost every time, where w...
by dogburd
18 Feb 2020 14:07
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

Re: USB MSC demo for STM32 doesn't recognize device

It looks like I2C1 is used for the touchscreen and no other I2C is used. I2C1 is also connected to the accelerometer, but I see no evidence that the accelerometer is ever accessed.
by dogburd
14 Feb 2020 21:45
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

Re: USB MSC demo for STM32 doesn't recognize device

So I now have the code opening files, writing data, and closing the files. That all seems to work nicely. The problem now is that when I plug in the USB stick (or reboot with it already plugged in) the program usually (but not always) crashes a few seconds later. If it doesn't crash within a few sec...
by dogburd
05 Feb 2020 17:03
Forum: mikroProg™ programmer and debugger
Topic: Mikromedia for STM32 F4 doesn't run after programming
Replies: 3
Views: 1715

Re: Mikromedia for STM32 F4 doesn't run after programming

I am using mikroBasic Pro for ARM, version 6.1.0. But I don't think the compiler is the problem. I tried several hex files that were known to work, that haven't been compiled in years. None of the VTFT sample projects work, and they all used to. I updated VTFT several years ago, and all the hex file...
by dogburd
27 Jan 2020 21:55
Forum: mikroProg™ programmer and debugger
Topic: Mikromedia for STM32 F4 doesn't run after programming
Replies: 3
Views: 1715

Re: Mikromedia for STM32 F4 doesn't run after programming

Update: I found a copy of mikromedia STM32F4XX USB HID Bootloader v130.hex and loaded it using the mikroProg. Now the device is recognized and mikroBootloader works! However most of the programs I try still don't run. My latest modified code from my old project runs, and a version of my old project ...
by dogburd
27 Jan 2020 18:57
Forum: mikroProg™ programmer and debugger
Topic: Mikromedia for STM32 F4 doesn't run after programming
Replies: 3
Views: 1715

Mikromedia for STM32 F4 doesn't run after programming

I think I must be missing something simple, but I just can't see it. I pulled an old Mikromedia board off the shelf for a new project, and when I program it using mikroprog, I just get a blank screen. I tried loading the old project's hex file, and get the same result. I tried the Calculator and Hel...
by dogburd
16 Jan 2020 21:57
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

Re: USB MSC demo for STM32 doesn't recognize device

Excellent!

It's now displaying the directory, as long as there's nothing with long file names.

Thank you.
by dogburd
16 Jan 2020 15:30
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

Re: USB MSC demo for STM32 doesn't recognize device

Reading the help file, it seems like the Host_MSC project is missing calls like the following: USBHost_RegisterClassRequestsHandler(USBHost_MSCClassRequestsHandler); USBHost_RegisterClassHandler(USBHost_MSCClassHandler); Can the demo work without these callback functions? If not, how do I implement ...
by dogburd
15 Jan 2020 22:40
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

Re: USB MSC demo for STM32 doesn't recognize device

HI,

Sorry it's been a while, this project got shelved, but it's back now!

Attached is a zip of the project. I haven't gotten any further really, after spending another day on it.

Thanks in advance for your help!
by dogburd
27 Feb 2019 19:19
Forum: Library Development Discussion
Topic: USB MSC demo for STM32 doesn't recognize device
Replies: 10
Views: 5252

USB MSC demo for STM32 doesn't recognize device

Hi, My goal is to use a USB stick to store data from my application which runs on MikroMedia7 board. I started with the Host MSC example for STM32 from the USB_Host_ARM package from LibStock. I tried to get the example running with minimal changes to make it run on the MM7 board, as it was written f...
by dogburd
19 Apr 2013 16:01
Forum: GLCD Font Creator Software
Topic: GLCD Font creator support VTFT?
Replies: 3
Views: 7531

Re: GLCD Font creator support VTFT?

Hi Marina,

I use VTFT to generate my screens, then move to MikroBasic to generate the code that runs my system.

If I get a new font into the Basic project, I can use it in basic, but that does not mean I can use it in VTFT, as far as I can tell. How can I use the new font in VTFT?

Thanks.

Don
by dogburd
18 Apr 2013 22:28
Forum: GLCD Font Creator Software
Topic: GLCD Font creator support VTFT?
Replies: 3
Views: 7531

GLCD Font creator support VTFT?

Hi,

Can GLCD Font Creator import fonts from VTFT, and export them back?

Does it support Basic Pro for Arm? The web site doesn't say it does.

Thanks.

Don
by dogburd
18 Apr 2013 18:37
Forum: Visual TFT General
Topic: Fixed space TFT fonts for data display are not fixed space.
Replies: 13
Views: 8331

Re: Fixed space TFT fonts for data display are not fixed spa

Any news on this? It's been over 5 years and it still seems to be a problem. I couldn't find any fonts that are fixed width on the actual screen, though some are in VTFT.
by dogburd
17 Apr 2013 16:40
Forum: Development Boards
Topic: Low-power mode on MikroMedia STM32 M4 board
Replies: 0
Views: 1038

Low-power mode on MikroMedia STM32 M4 board

Hi, I have an application where I want to use the battery to keep the clock running while the main power is off, and I'm not sure the best way to do this. USB will not be used in this application, only for development through the bootloader. The problem is that if USB is not connected, the VCC-SYS i...

Go to advanced search