Avatar for jonreid

jonreid

Member since Nov 2015 • Last active May 2020
  • 11 conversations
  • 96 comments

Most recent activity

  • in Other Boards
    Avatar for jonreid

    Its ok right now as I also have a rak8212 which I am currently developing on - but having access to more flash/ram will help with new features I need to add. Will the Flash module have access to more space ? We currently use that for our logging data.

  • in Other Boards
    Avatar for jonreid

    @Gordon any update on when you might get to having a look at this build ? Realise you are juggling a lot, just interested in an updated ETA

    I have a rak5010 sitting here ready to go !

  • in Other Boards
    Avatar for jonreid

    All good ! My son is enjoying his Bangle.js - turned up 2 days before his birthday which was fantastic

  • in Other Boards
    Avatar for jonreid

    Any update on the timeline for this ? The RAK8212 does not seem to be able to be ordered at the moment

    • 10 comments
    • 2,250 views
  • in Porting to new Devices
    Avatar for jonreid

    It seemed to be an issue while running bootloader and on saving a second, new copy of the code before deleting the original. It did work if i deleted original code first.

    I have not got back to further testing because in the meantime some external changes have meant i need to put a lot more code into the mdbt42. So i am just hoping when i am done that the bootloader plus code save will still work fine. I will let you know when I get there.

    A dont reorganize flag may end up being useful

  • in Porting to new Devices
    Avatar for jonreid

    If I can achieve running at boot my bootloader, using Storage to save a new remotely loaded version to flash, then eval from flash then I should be OK as there will be plenty of RAM available.

    But if in the above scenario I will run into the issue of the code getting shuffled and so cannot run, then I will have a problem. I don't need to store a second copy of code. If my bootloader detects a new version from remote source, it can delete the current version from Storage (if that helps)

  • in Porting to new Devices
    Avatar for jonreid

    Do you know when you might have a nRF52840 module available ? My project scope has changed and things are starting to get tight inside the MDBT42Q !

    • 11 comments
    • 1,667 views
  • in JavaScript
    Avatar for jonreid

    So could the compact/rearrange occur during the first eval ? I am not sure if this is the problem, as even if I reboot and try to eval the code later it still fails. So what I was doing originally was

    1. Save bootloader from IDE (not using Save on Send so should be all in RAM ?)
    2. Bootloader runs code ver 1 by eval (This was previously written to storage by bootloader)
    3. Code ver is running, is notified of software update so reboots to bootloader (E.enableWatchdog(1); while(1);)
    4. Bootloader receives code v2 via serial port, writes to Storage
    5. Bootloader eval code v2 but fails due to code errors. Even if I reboot it still fails.

    If I delete code v1 before writing v2 to Storage, it works. Not sure if that shows something I am missing.

    I will try your suggestion of eval to RAM as well

Actions