hAZ5Cn

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Hi Neil. I'll give it a try! Thanks for responding!
  2. Thanks for the response. I have access to an ICD3 which I used to program my blinky LED application. This worked as expected. Correct, the factory bootloader and the harmony boot loader use different communication protocols. I am wanting to use the stk500v2 protocol implemented by Digilent because the command line programmer tool is available for Linux and because I don't always have access to the ICD3. The AN1388 bootloader that is implemented with the harmony configurator doesn't have a Linux client. Microchip did publish the windows source code along with the application note, but attempting to modify that seems to be just another hazard ridden path. The pic32prog source on github mentions compatibility with an [USB] HID AN1388 boot loader. I might be able to make that work without hacking up the windows code or cutting myself on the sharp corners in the linker scripts. I think that this will be my experiment for the next time I get my hands on the ICD3. I've been poking through the linker files provided by XC32, harmony, as well as those in the chipKIT core. I'm really a newb as far as linker scripts go. It is not obvious what changes are necessary for bootloader support and which changes are out of preference or compiler compatibility. Can Digilent provide the linker script for the boot loader, documentation, or perhaps the source itself, to aid with this endeavor?
  3. Hi All, I'm trying to get blinky LED working on my WiFire using MPLABX and the factory boot-loader for programming. I'm using MPLABX 3.35, XC32 1.42, and harmony 1.08. I found instructions on the chipKIT website about pulling in a linker file from the MPIDE (now arduino) tools but whatever combination of linker files I try seems to segfault xc32-ld. I've used harmony configurator to build my application with boot-loader support (generate a linker file) but this seems to be a different boot-loader implementation and the pic32-prog complains about missing DEVCFG values (as far as I can tell they are linked in the wrong spot) and fails to program even when forced. Next, I looked for the source for the boot loader hoping to find documentation there about how to make changes to the link to be compatible but, alas, no sauce found. So, I think at this point I'm looking for instructions on how to modify the default .ld file or for a pre-modified version that I can just use with current versions of MPLABX and XC32. I am guessing someone else has run into this problem before but my google-fu hasn't located their solutions. Thanks in advance!