Tinybootloader RESET 12F1840

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
waligator
Posts: 34
Joined: Mon Mar 12, 2012 9:14 pm
Contact:

Tinybootloader RESET 12F1840

Post 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
Attachments
bootloader Reset 12f1840.fcf
(11.4 KiB) Downloaded 78 times
tinybld12F1840_int16MHz_19200bd.asm
(6.26 KiB) Downloaded 63 times

waligator
Posts: 34
Joined: Mon Mar 12, 2012 9:14 pm
Contact:

Re: Tinybootloader RESET 12F1840

Post 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

kersing
Valued Contributor
Valued Contributor
Posts: 1936
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Contact:

Re: Tinybootloader RESET 12F1840

Post 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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

waligator
Posts: 34
Joined: Mon Mar 12, 2012 9:14 pm
Contact:

Re: Tinybootloader RESET 12F1840

Post 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

User avatar
Benj
Matrix Staff
Posts: 14835
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: Tinybootloader RESET 12F1840

Post 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.

Post Reply