• AVR Freaks

Beta testers wanted for PIC18F SD/MMC card bootloader

Author
asmallri
Super Member
  • Total Posts : 1864
  • Reward points : 0
  • Joined: 2004/05/26 09:00:05
  • Location: Perth, Australia
  • Status: offline
2008/04/23 21:38:35 (permalink)
0

Beta testers wanted for PIC18F SD/MMC card bootloader

I am looking for beta testers for an SD/MMC Card Bootloader for the PIC18F family.

The bootloader supports SD/MMC cards formatted with FAT12, FAT16 or FAT32. The FAT file system support means that the bootloader has a large memory footprint requiring approx 12K of Program memory. During the bootload process the PIC requires about 1800 bytes of RAM. The bootloader does not require any resources other than program memory space when the user application is in control.

Assuming the target platform has an SD card to support the application (other than the bootloader), a suitable PIC would require 48K or program memory and at least 2K if RAM. Candidates include PIC18F2620/4620/6622/8722 etc.

If interested, please leave me a message.
post edited by asmallri - 2008/04/25 16:42:38

Regards, Andrew

http://www.brushelectronics.com/index.php?page=software
Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
#1

17 Replies Related Threads

    DarioG
    Allmächtig.
    • Total Posts : 54081
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: Oesterreich
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/04/24 01:47:29 (permalink)
    0
    Hi Andrew, I might be interested.
    Am working on another project at the moment, but in 2 weeks I should be able to check that.

    GENOVA :D :D ! GODO
    #2
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/04/24 05:03:22 (permalink)
    0
    Which one are you interested in testing the PIC24F or the PIC18F?

    The PIC24F image currently supports the Explorer 16 fitted with the PIC24FJ128GA010 and the SD/MMC PICTail

    The PIC18F has images for the Microchip HPC board with the PIC18F8722, The LJCV Electronics PICNET1 fitted with the PIC18F4620, or our PIC18F4620 reference design.
     
    I am after feedback on usability. Is it intuiative to use, does it do all that you need. If you send me your email address via a PM I will forward you the user documentation.


    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #3
    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/04/24 11:36:29 (permalink)
    0
    Hi Andrew,
    I would like to test. I have an Explorer 16 and the PicTail board. I also have an HPC, but the PicTail didn't work with the 8722 (5V-3.3V). It did work with 3.3V 87J50 and 87J10 PIMs on the HPC though. If you're after the 18F usability I'd have to make the changes to the PicTail that were suggested here some time ago (remove chip and use resistors to change levels). The P24 I could try out directly.

    (edit: I just downloaded the P24 doc and hex from your website)
    post edited by BruceTElliott - 2008/04/24 11:38:41
    #4
    DarioG
    Allmächtig.
    • Total Posts : 54081
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: Oesterreich
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/04/24 16:03:22 (permalink)
    0
    Yeah, I'd go with the 18F version, but I only now realized that I'd need one of those boards to test...

    I guess you're not sendingout the source code, so I can't adapt it to some board of mine.

    I'll be back when I have (or build) a compatible board... sorry then.

    GENOVA :D :D ! GODO
    #5
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/04/24 18:41:42 (permalink)
    0
    ORIGINAL: BruceTElliott

    Hi Andrew,
    I would like to test. I have an Explorer 16 and the PicTail board. I also have an HPC, but the PicTail didn't work with the 8722 (5V-3.3V). It did work with 3.3V 87J50 and 87J10 PIMs on the HPC though. If you're after the 18F usability I'd have to make the changes to the PicTail that were suggested here some time ago (remove chip and use resistors to change levels). The P24 I could try out directly.

    (edit: I just downloaded the P24 doc and hex from your website)


    Hi Bruce,

    Interestingly I have tested the resstor modified PICTail on 3.3 volt PICs and it works well.

    The 24F and 18F bootloaders have a similar interface however the 24F version also allows you to bootload data to the external EEPROM located on the Explorer 16.

    Let me know how you get on.

    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #6
    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/02 02:36:15 (permalink)
    0
    Hi Andrew,
    I just started to test the PIC24 bootloader. The load sequence functions correctly and the rs232 output during the boot is correct. The application (PIC24 Demo) runs about 3+ times faster than normal though. The LCD can be read, so it seems to be working correctly. Hitting S4 shows that the clock is ticking correctly. It's just the loop that is running very fast. Did you change the application? Is there some known change in the startup procedure that should be considered?
    I'll try some other applications and see what happens.
    Regards, Bruce
    #7
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/02 05:41:54 (permalink)
    0
    ORIGINAL: BruceTElliott

    Hi Andrew,
    I just started to test the PIC24 bootloader. The load sequence functions correctly and the rs232 output during the boot is correct. The application (PIC24 Demo) runs about 3+ times faster than normal though. The LCD can be read, so it seems to be working correctly. Hitting S4 shows that the clock is ticking correctly. It's just the loop that is running very fast. Did you change the application? Is there some known change in the startup procedure that should be considered?
    I'll try some other applications and see what happens.
    Regards, Bruce


    Thanks for the feedback. I did not change the demo application code. The only change was to the applications linker script to reserve the memory region occupied by the bootloader. It is possible the demo application assumes a "reset default value" for a timer divisor. I will have a look at the demo application.

    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #8
    balzi
    Senior Member
    • Total Posts : 149
    • Reward points : 0
    • Joined: 2003/11/07 12:37:24
    • Location: Tatura, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/05 00:50:16 (permalink)
    0
    Hi Andrew

    I'd be interested in testing the bootloader - I was just looking through the forums for some initial help with FAT16 on SD/MMC to eventually write our own bootloader for a 18F8723 based platform. Seems like I could test out yours while I'm at it.

    I have a BIGPIC5 with the MMC/SD CARD slot. If I can help let me know.

    Matt


    #9
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/05 07:34:17 (permalink)
    0
    ORIGINAL: balzi

    Hi Andrew

    I'd be interested in testing the bootloader - I was just looking through the forums for some initial help with FAT16 on SD/MMC to eventually write our own bootloader for a 18F8723 based platform. Seems like I could test out yours while I'm at it.

    I have a BIGPIC5 with the MMC/SD CARD slot. If I can help let me know.

    Matt


    The default processor on the BIGPIC5 is the PIC18F8520. This processor is not a viable choice with the SD/MMC bootloader because of the limited program memory of this PIC. Our bootloader which currently supports FAT12/16/32, with debugging enabled, requires about 28K or program memory. With debugging disabled it consumes about 24K of program memory. In both cases this is without procedural abstraction.

    The PIC18F8723 is a viable candidate. Do you have a plug in module for the BIGPIC5 that supports this PIC and if so, is it a one-to-one mapping of pins between the 8520 and 8723 for the module?

    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #10
    balzi
    Senior Member
    • Total Posts : 149
    • Reward points : 0
    • Joined: 2003/11/07 12:37:24
    • Location: Tatura, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/05 15:38:09 (permalink)
    0
    ORIGINAL: asmallri

    The default processor on the BIGPIC5 is the PIC18F8520. This processor is not a viable choice with the SD/MMC bootloader because of the limited program memory of this PIC. Our bootloader which currently supports FAT12/16/32, with debugging enabled, requires about 28K or program memory. With debugging disabled it consumes about 24K of program memory. In both cases this is without procedural abstraction.

    The PIC18F8723 is a viable candidate. Do you have a plug in module for the BIGPIC5 that supports this PIC and if so, is it a one-to-one mapping of pins between the 8520 and 8723 for the module?


    that is a fine question - I definitely have a 8723 (the mother of all 18F PICs) for the BIGPIC5. I will just confirm the pinout.. but why would it matter, one SPI port goes to the SD/MMC interface, that's all that matters right?
    oops, I'll need to download the pic18f8520 datasheet to find out, its not in the 8723 or 8722 family.
    the 8723 is a TQFP80 chip. MCHP is *very* good with releasing lots of different families with compatible pin layouts on chips with the same pin count, so I'd be pretty surprised if it wasn't pin for pin.
    #11
    balzi
    Senior Member
    • Total Posts : 149
    • Reward points : 0
    • Joined: 2003/11/07 12:37:24
    • Location: Tatura, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/05 15:55:34 (permalink)
    0
    While operating up to 40 MHz, it is also backward software and hardware compatible with the PIC18F8720.


    that's from microchip.com - I can only presume that the 8720 and 8520 are pin compatible. .. and I just checked.. they are.

    so the short answer - yes the 8723 and 8520 are pin compatible - though I think my high powered chip has some extra stuffing.
    #12
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/05 19:47:55 (permalink)
    0


    ORIGINAL: balzi

    While operating up to 40 MHz, it is also backward software and hardware compatible with the PIC18F8720.


    that's from microchip.com - I can only presume that the 8720 and 8520 are pin compatible. .. and I just checked.. they are.

    so the short answer - yes the 8723 and 8520 are pin compatible - though I think my high powered chip has some extra stuffing.


    I knew the PICs were pin compatible but what I don't know is if the BIGPIC5 modules pin-to-pic pinouts assignments are compatible - you might think it is obvious that they would be but I have been surprised before when a "this would be a good time to make a change" event occurs.

    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #13
    balzi
    Senior Member
    • Total Posts : 149
    • Reward points : 0
    • Joined: 2003/11/07 12:37:24
    • Location: Tatura, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/05 23:22:44 (permalink)
    0
    oh OK.. well I am 99.99% sure they are.. it would be pretty painful to have them different, with all the labels all over the board.. I've worked with the two UARTS and the LCD interface and some analogs, and haven't had dramas yet. so I guess its all the same..

    is it easy to modify your bootloader to adapt to the second SPI port if that's the one the BIGPIC sends to the SD/MMC interface?
    #14
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/05/06 04:50:01 (permalink)
    0
    ORIGINAL: balzi
    is it easy to modify your bootloader to adapt to the second SPI port if that's the one the BIGPIC sends to the SD/MMC interface?


    Yes. Can you send me a PM with your email address and I will send you the image.

    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #15
    jyaron
    Super Member
    • Total Posts : 398
    • Reward points : 0
    • Joined: 2003/11/07 12:43:15
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/09/10 17:27:22 (permalink)
    0
    Andrew,
     
    I assume the majority of bugs are out of this BLoader. Please answer questions below:
     
    1) I'll be targeting a miniSD card. Are there any issues with >2GB cards?
     
    2) Is the source in asm -or- uChip C18? If in C18, can I port to a static-overlay stack compiler (i.e. no malloc())
     
    3) I'll also be getting your latest ENET bloader for PIC18F97J60. Is the source still in asm?
     
    Thanks,
    John
     
    #16
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2008/09/10 18:31:03 (permalink)
    0
    ORIGINAL: jyaron

    I assume the majority of bugs are out of this BLoader.

     
    I don't have any outstanding bug reports so I hope so :-)

    I'll be targeting a miniSD card. Are there any issues with >2GB cards?

    I have tested 2G cards but not with cards greater than 2G
     
    Is the source in asm -or- uChip C18? If in C18, can I port to a static-overlay stack compiler (i.e. no malloc())

    It is in C18. It does not use malloc but I do not know if there are other implications with the static overlay. It runs ships in the night wrt the user application. The bootloader has control at reset, if there is no image to bootload and a user application is present, the bootloader passes control to the user application. So unless you want to embed the bootloader with your application, you do not need to change the mode of the compiler.

    I'll also be getting your latest ENET bloader for PIC18F97J60. Is the source still in asm?

    The source for the Ethernet bootloader is still in asm. It has half the footprint of a C implementation which is why i aborted the C port.


    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #17
    asmallri
    Super Member
    • Total Posts : 1864
    • Reward points : 0
    • Joined: 2004/05/26 09:00:05
    • Location: Perth, Australia
    • Status: offline
    RE: Beta testers wanted for PIC18F SD/MMC card bootloader 2009/02/03 13:56:17 (permalink)
    0
    ORIGINAL: jyaron

    Andrew,

    I assume the majority of bugs are out of this BLoader. Please answer questions below:

    1) I'll be targeting a miniSD card. Are there any issues with >2GB cards?


    I have support support for SDHC cards but have not yet integrated it into bootloader - easy enough to do.

    2) Is the source in asm -or- uChip C18? If in C18, can I port to a static-overlay stack compiler (i.e. no malloc())
    C18 version and C30 version - no malloc

    3) I'll also be getting your latest ENET bloader for PIC18F97J60. Is the source still in asm?


    The PIC24/dsPIC version is in C30 - it would be straight forward to port it to the PIC18F97J60 family. I could do the port but there does not appear to be any demand for it. The standard and encrypted asm versions of the Ethernet bootloader for the PIC18F97J60 continue to sell. If there was other demand or if it was funded I could review this.



    Regards, Andrew

    http://www.brushelectronics.com/index.php?page=software
    Home of Ethernet, SD Card, and Encrypted Serial and USB Bootloaders for PICs!!
    #18
    Jump to:
    © 2020 APG vNext Commercial Version 4.5