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

waligator
Posts: 34
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Tinybootloader RESET 12F1840

Postby waligator » Fri Oct 19, 2018 1:07 pm

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 40 times
tinybld12F1840_int16MHz_19200bd.asm
(6.51 KiB) Downloaded 32 times

waligator
Posts: 34
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: Tinybootloader RESET 12F1840

Postby waligator » Sun Oct 21, 2018 8:53 pm

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: 1873
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 530 times
Been thanked: 1040 times
Contact:

Re: Tinybootloader RESET 12F1840

Postby kersing » Sun Oct 21, 2018 9:14 pm

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.
These users thanked the author kersing for the post:
Benj (Mon Oct 22, 2018 10:24 pm)
Rating: 5.26%
 
“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
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: Tinybootloader RESET 12F1840

Postby waligator » Mon Oct 22, 2018 8:17 pm

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
These users thanked the author waligator for the post:
Benj (Mon Oct 22, 2018 10:24 pm)
Rating: 5.26%
 

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: Tinybootloader RESET 12F1840

Postby Benj » Mon Oct 22, 2018 10:23 pm

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.