Search found 7 matches

by WanaGo
Mon May 31, 2021 11:43 am
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Re: Arduino IDE with MikroE M4 Clicker Board - Board Manager

Managed to get it working. Not exactly sure what was stopping it working, but building in the Arduino IDE and then putting the HEX it generates into the MikroE loader, which flashes it over the USB port - is working. Not elegant by any means but its working. The Arduino IDE flashing doesn't erase th...
by WanaGo
Mon May 31, 2021 4:56 am
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Re: Arduino IDE with MikroE M4 Clicker Board - Board Manager

Attached is the HEX output from the MikroE sample, vs a edited version of Blink from Arduino.

Anyone have any idea?
Demos.zip
(27.97 KiB) Downloaded 206 times
by WanaGo
Mon May 31, 2021 1:07 am
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Re: Arduino IDE with MikroE M4 Clicker Board - Board Manager

Compiled the HEX in the Arduino IDE, and wrote it to the board with the Mikroe loader over the USB (I presume using their USB Bootloader), and it loads fine, but does nothing. Not even a Blink sketch on LED on PA1 or PA2 works. Using the C demo HEX from MikroE, that does work, push the button on the...
by WanaGo
Mon May 31, 2021 12:19 am
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Re: Arduino IDE with MikroE M4 Clicker Board - Board Manager

Next question is, how do you get this thing to program from the Arduino IDE? When I plug in the USB, it connects and disconnects over and over every few seconds, going in and out of bootloader mode. When you connect to it using the Mikroe programmer, it stops doing this, waiting for HEX to be loaded...
by WanaGo
Sun May 30, 2021 9:58 pm
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Re: Arduino IDE with MikroE M4 Clicker Board - Board Manager

fredbox wrote: Fri May 28, 2021 6:46 pm
What situation do you use the "CDC (no generic serial)" ?
No generic serial on both the CDC and USART is my normal setting.
This way, you are free to rename the serial ports to your liking.
Thanks, this all looks good and as I suspected - Thanks very much.
by WanaGo
Fri May 28, 2021 10:16 am
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Re: Arduino IDE with MikroE M4 Clicker Board - Board Manager

Brilliant, that is very helpful. // RX TX HardwareSerial Serial1(PC11, PC10); HardwareSerial Serial2(PD2, PC12); void setup() { Serial.begin(115200); // Serial for USB VCP Serial1.begin(200000); // Serial1 @ 200000 (200K) Baud Serial2.begin(115200); // Serial2 for Testing @ 115200 Baud So I have sel...
by WanaGo
Fri May 28, 2021 7:39 am
Forum: General discussion
Topic: Arduino IDE with MikroE M4 Clicker Board - Board Manager
Replies: 10
Views: 5040

Arduino IDE with MikroE M4 Clicker Board - Board Manager

Hi All Just got myself a Mikroe M4 Clicker board, it has a STM32F415RGT6 on it, and breaks out to one Click socket. It will arrive on Monday. ITs like this, but with USB-C rather than Mini-USB like this suggests. They havent updated the doco yet it seems. https://download.mikroe.com/documents/starte...

Go to advanced search