I am trying to get the tinybld working on the PIC18F46J50. For testing, I have gotten the tinybld working on the PIC16F1827 successfully.
My problem is when I write the hex file via the Tiny Multi Bootloader+ (v0.11.0) to the device, app crashes. I did select all debug messages and this is what is generated:
Check device...
send: C1
receive: 32, 4A
In the main message window, checking the device shows:
Check Device...
Open COM4 serial port at 19200bd
Hardware RTS reseting Device
Found: 18F(J) w/64KB flash & 0B EEPROM
Close COM4 serial port
---------------------------------------------------------
When I go to write to the device is shows:
Check Device...
Open COM4 serial port at 19200bd
Hardware RTS reseting Device
Found: 18F(J) w/64KB flash & 0B EEPROM
Open HEX file: path/to/my/HEX/file.hex
then crashes.
I did get it to work once, but only once. Even in simulation mode the app crashes. I used this line from the "piccodes.ini" file for the "Virtual Device"
Hello forum,
I am trying to get the tinybld working on the PIC18F46J50. For testing, I have gotten the tinybld working on the PIC16F1827 successfully.
My problem is when I write the hex file via the Tiny Multi Bootloader+ (v0.11.0) to the device, app crashes. I did select all debug messages and this is what is generated:
In the main message window, checking the device shows:
When I go to write to the device is shows:
then crashes.
I did get it to work once, but only once. Even in simulation mode the app crashes. I used this line from the "piccodes.ini" file for the "Virtual Device"
My c program is compiled with the XC8 compiler. The program is super simple:
In the linker options, Memory Model, ROM ranges:
Here is the hex file:
Any tip would be very much appreciated
Update:
With the same hex file as above I found a way to generate more debug messages:
What I find strange is in the last few lines:
is found, i've double cheched my complier setting and it is configured for the PIC18F46J50.
I hope this helps someone help me.
Last edit: Eric 2017-04-27