cmucam3-hardware (#1) - jump too bootloader? (#203) - Message List

jump too bootloader?

Hi!

Is it possible to jump to the bootloader directly from within the program? It's not very applicable to press the isp button every time i want to reprogram in my application.

By the way: Are there some power saving functions?

Thanks for help Julian

  • Message #521

    In theory yes you can jump directly to the bootloader. I have never tried it, but there is an IAP call that does that. Checkout the NXP Application note AN10256_2 (Using IAP for LPC2000 ARM devices). You can get it on the NXP website.

    The cmucam HAL doesn't have any power specific functions, but the lpc2106 has various power modes and the power down pins for the CMOS camera module are connected to GPIO on the CMUcam3. Pin P21 can be used to sleep the camera module. The camera may lose its settings when you sleep it, so you might have to re-initialize it each time. You should also check if keeping the FIFO in reset or disabling the clock going to it saves power.

    • Message #523

      Sorry, I didn't get it working. I tried it as stated in the application note and looked around in processor doc, but I didn't see any way to jump to the loader AND tell it it shouldn't jump back to user mode (apparently, it was only planned to do this via setting P14 to high). I will use a second processor (which I would need even if this would've worked) and hold Power enable and CS on GPIO low.