Re: Tiny Bootloader



I've looked through the bootloader and my interpretation is as follows
:-

1. PIC Starts
2. Jumps to (Max_Memory - 100)
3. Waits a period of time for 'C1' to be received.
4a. If 'C1' is receieved then continue to rewrite the program that it
is being sent.
4b If no 'C1' is received then exit the bootloader.
5 Jump to the start of the bootloader where the four 'nop' commands
should have been replaced with the 'Goto' command that is at the start
of my program.
6 It should find my 'Goto' command and then execute my program.


I believe that the download program that you get off the site looks at
the start of the user program. Finds this 'Goto' command and relocates
it in memory to the start of the bootloader. I think this is where it
is failing but I don't have the source code for the download program to
verify this.

Thanks

.



Relevant Pages

  • Re: [microblaze-uclinux] Rethinking MicroBlaze commandline precedence
    ... Subject: [microblaze-uclinux] Rethinking MicroBlaze commandline ... I'm wondering if a cmdline in r5 should override the DTS. ... not everyone will use a bootloader like u-boot that can ... that no one else change my command line. ...
    (Linux-Kernel)
  • Re: [microblaze-uclinux] Rethinking MicroBlaze commandline precedence
    ... We have 3 option how to pass command line to kernel. ... Via r5, from dts/dtb, in kernel yourself. ... that a user may not have a bootloader, ...
    (Linux-Kernel)
  • Re: [PATCH] x86 built-in command line
    ... don't let me change the kernel command line. ... knowledge of Linux whatsoever. ... I've gotten out of the habit of figuring out how to set ... platforms where the bootloader *is* capable of it. ...
    (Linux-Kernel)
  • Re: [PATCH] x86 built-in command line
    ... line should only apply if no user-specified command line is present. ... bootloader has hardcoded or otherwise difficult-to-change command line ... automated testing for tftp boot, ... So why must I recompile the kernel to change the console ...
    (Linux-Kernel)
  • Re: dual boot problem...
    ... Lenard wrote: ... > command or something else from the provided link. ... > DVD) into rescue mode. ...
    (comp.os.linux.setup)