Hello guys, I've an HEX generated by mikroBasic PRO for PIC32.
The C# app is complaining that the HEX is too large and will overwrite the bootloader code.
This is not true of course, I'm using only 6% of ROM on PIC32MX795F512L
Can you help me understand what's going on?
I've opened the c# source of win app, and I first had to fix some cross thread calls.
After that I have followed the code execution path but I couldn't understand clearly how it is detecting that the code is too large.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I fixed the problem by adding this line on C# code:
public Form1()
{
Form1.CheckForIllegalCrossThreadCalls = false; // LINE ADDED FOR FIX ERROR
InitializeComponent();
}
Is not elegant, but work.
Regards,
Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys, I've an HEX generated by mikroBasic PRO for PIC32.
The C# app is complaining that the HEX is too large and will overwrite the bootloader code.
This is not true of course, I'm using only 6% of ROM on PIC32MX795F512L
Can you help me understand what's going on?
I've opened the c# source of win app, and I first had to fix some cross thread calls.
After that I have followed the code execution path but I couldn't understand clearly how it is detecting that the code is too large.
Thanks in advance.
Hello,
Have you fix your problem? Hopefully yes.
But you could help me, i try to fix the C# source of Tiny Bootloader and i have cross thread calls error.
How have you fixed the problem? Can you post the code?
THanks in advance
Hi,
I fixed the problem by adding this line on C# code:
public Form1()
{
Form1.CheckForIllegalCrossThreadCalls = false; // LINE ADDED FOR FIX ERROR
InitializeComponent();
}
Is not elegant, but work.
Regards,
Daniel