Search found 17 matches

by ack23
16 Aug 2022 18:32
Forum: mikroC PRO for ARM General
Topic: Config File Overwritten by MikroC GUI
Replies: 2
Views: 839

Re: Config File Overwritten by MikroC GUI

Thanks for your response.

I am using mikroC Pro for ARM v.6.2.0-D, and the Mini-M4 module.

However, I think the was happening for ealier versions.

It happens with all the projects where I start with the HID library example, and start off using the .cfg file that comes with that.
by ack23
13 Aug 2022 02:09
Forum: mikroC PRO for ARM General
Topic: Config File Overwritten by MikroC GUI
Replies: 2
Views: 839

Config File Overwritten by MikroC GUI

I am no MPU expert, but it seems strange to me that the MikroC GUI overwrites my .cfg file in a way that stops the MPU from functioning with HID library. As a work around I set my .cfg file as read only. Strangly, the GUI only complains about this occasionally. However, I would like to understand wh...
by ack23
01 Oct 2020 01:56
Forum: mikroC PRO for ARM General
Topic: Demo project hex files work, compiling the same does not
Replies: 4
Views: 1219

Re: Demo project hex files work, compiling the same does not

That worked, but I wish I understood why, because I am still trying to get my product it work from the original data base.

Can you confirm that all the configuration bits are stored in the .cfg, and there is nothing that can get transfered via the IDE from past projects when I load a new one?
Thanks
by ack23
29 Sep 2020 06:11
Forum: mikroC PRO for ARM General
Topic: Demo project hex files work, compiling the same does not
Replies: 4
Views: 1219

Re: Demo project hex files work, compiling the same does not

Did not seem to help.

I loaded the file ok from project->edit project->load.

Then I did compile and HID bootload

No HID showed up.

Re-loaded the original hex, and it worked.
by ack23
22 Sep 2020 01:06
Forum: mikroC PRO for ARM General
Topic: Demo project hex files work, compiling the same does not
Replies: 4
Views: 1219

Demo project hex files work, compiling the same does not

It has been several years, so I am rusty on the MIni-M4 STM32. After updating the Compiler (old one has problems with update Windows) I can't get compiled hex file to run, even from demo projects. However, the hex files that come with the demo projects work ok. I am including HID_Read_Write_Interrup...
by ack23
08 Sep 2016 20:50
Forum: mikroC PRO for ARM General
Topic: High Speed I2C Library Issue
Replies: 7
Views: 7492

Re: High Speed I2C Library Issue

That did not work, but I do have some questions to check my setup is correct. 1. "_I2C_400KHZ" is not found as a macro, so I am using 400000. Is this an error in the library documentation? 2. Currently, I do no setup for the I2C GPIO except for the I2C2_Init_Advanced. Should I be configuring these G...
by ack23
05 Sep 2016 05:26
Forum: mikroC PRO for ARM General
Topic: "USB HID device is not in bootloader mode"
Replies: 1
Views: 2320

"USB HID device is not in bootloader mode"

After using ST/Link to program I notice that I am unable to use the bootloader. I get "USB HID device is not in bootloader mode" from the bootloader tool. I have tried loading and verifying MikroElektronika bootloader project through ST/Link. This worked, but is there a way to use ST/Link without ov...
by ack23
30 Aug 2016 07:54
Forum: mikroC PRO for ARM General
Topic: High Speed I2C Library Issue
Replies: 7
Views: 7492

Re: High Speed I2C Library Issue

I get good results with this FPGA I2C on other projects. However, I can re-check.

The problem is that the M4 is just not pulling down the I2C pins. So at this point the FPGA is just not receiving the expected input from the M4.

Have others reported anything like this?
by ack23
29 Jul 2016 19:54
Forum: mikroC PRO for ARM General
Topic: High Speed I2C Library Issue
Replies: 7
Views: 7492

Re: High Speed I2C Library Issue

Mini-M4 as stated.

The I2C goes to an FPGA, but I don't think the issue is on that side, because:

[ ] This port is tested with other equipment.
[ ] The problem is during M4 I2C transmit.
by ack23
08 Jul 2016 22:33
Forum: mikroC PRO for ARM General
Topic: High Speed I2C Library Issue
Replies: 7
Views: 7492

High Speed I2C Library Issue

I am noticing an occasional intermittent fail in I2C_Write, which is apparently caused by the occasional intermittent fail of I2C2_Start. I2C2_Start is called, but nothing changes on SCL and SDA, and 0 is returned during the fail event. SCL and SDA remain high. This only happens with >100KHz operati...
by ack23
08 Jul 2016 22:01
Forum: mikroC PRO for ARM Wish List
Topic: mikroBootLoader One Click?
Replies: 3
Views: 3953

mikroBootLoader One Click?

It's a pain to manually go through the clicks to program over and over again, always with the same files. Why not have command line arguments so this can be one click? Or at least make it compatible with a robot like AutoHotkey so that the buttons can be pressed by a script. Please make the life of ...
by ack23
01 Jul 2016 20:56
Forum: mikroC PRO for ARM General
Topic: USB_Break();
Replies: 5
Views: 5864

USB_Break();

Could you add more information on how this works?

I.e. USB_Break interrupts an HID_Write:

[ ] is stopped half way through a transmit?
[ ] what happens to the buffer next time it is called?
by ack23
26 Jun 2016 20:45
Forum: mikroC PRO for ARM General
Topic: Non-Blocking I2C for the Mini-M4?
Replies: 1
Views: 2869

Non-Blocking I2C for the Mini-M4?

Is there a place to get this?
by ack23
02 Feb 2016 00:58
Forum: Development Boards
Topic: Mini-32 Turning the Bootloader on and off
Replies: 3
Views: 1848

Re: Mini-32 Turning the Bootloader on and off

Any pointers to how to remove the bootloader for normal uploading/debug?
by ack23
13 Jan 2016 03:52
Forum: Development Boards
Topic: Mini-32 Turning the Bootloader on and off
Replies: 3
Views: 1848

Mini-32 Turning the Bootloader on and off

Is there a fast way to turn off the bootloader so that in the application the program can run without the bootloader delay?

Go to advanced search