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: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
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 297 times
tinybld12F1840_int16MHz_19200bd.asm
(6.26 KiB) Downloaded 288 times

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
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: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
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: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
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