Page 1 of 1

Tinybootloader RESET 12F1840

Posted: Fri Oct 19, 2018 1:07 pm
by waligator
Hello everyone,

I ask for your help because I can not find the mistake.

I loaded a bootlader file (tinybootloader) to reprogram the chip by serial link when I send the code "6" = "54h".

The program will reset correctly when the correct code is detected but I can not communicate with the chip by the program tinybootloader V0.11.2.11. Does the reset program at the right place or Flowcode overwrite the first file (tinybootloader) sent?

Can you help me .... Thank you

Steve

Re: Tinybootloader RESET 12F1840

Posted: Sun Oct 21, 2018 8:53 pm
by waligator
when I load only the bootloader file, I can detect the chip with the program Tinybootloader + but as soon as I put my program with Flowcode, I can not detect the chip anymore.

No one to help me ??? :( :( :(

thank you in advance
Steve

Re: Tinybootloader RESET 12F1840

Posted: Sun Oct 21, 2018 9:14 pm
by kersing
Flowcode creates a hex file that will overwrite your boot loader if it is not told about the boot loader. You will need to research the memory used by the boot loader and where the boot loader expects the user program to live and use that information to modify the linker command.

Btw, keep in mind flowcode 5 is no longer supported. The current version is 8. So do not expect a lot of answers for this old version.

Re: Tinybootloader RESET 12F1840

Posted: Mon Oct 22, 2018 8:17 pm
by waligator
Hello Kersing,

Thank you for your answer. I'm going to change my way because I do not have enough knowledge on this subject.

I think many people have switched to version 8 but unfortunately, I currently can not afford to spend.

Best regards

Steve

Re: Tinybootloader RESET 12F1840

Posted: Mon Oct 22, 2018 10:23 pm
by Benj
Hello.

Bootloader offsets have been covered before in the forums and if memory serves its actually very simple to do in v5 for Pic. Sounds like your closer then you think.