Menu

PIC32 Hex too large... (PIC32MX795F512L)

2015-06-03
2015-10-31
  • Giovani Luigi Rubenich Brondani

    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.

     
  • Daniel Lockhead

    Daniel Lockhead - 2015-10-31

    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

     
  • Daniel Lockhead

    Daniel Lockhead - 2015-10-31

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.