Giter Club home page Giter Club logo

Comments (5)

borland1 avatar borland1 commented on August 27, 2024

You didn't say what you did wrong. "seem to be wrong"; you must be referring to Wiki section "Flashing the LPC21xx Controller", heading "Enter boot mode sequence manually".

The instructions do work if followed, but could be improved.

To start the bootloader and enter ISP mode, it is unnecessary to power cycle the oven with the RESET pin already grounded.

You can alternatively, ground the ISP pin and start the bootloader with a power cycle and skip grounding the RESET pin, as turning off power essentially pulls the RESET pin low. And when power is restored, the MCU first looks for an ISP pin being pulled low to ground. Note that: the MCU's ISP pin is pulled high by a pullup resistor on the oven controller PCB in order to prohibit the MCU's ISP pin from floating low and causing it to accidently booting into ISP mode with any power up cycle.

It is also unnecessary to "Release ISP" to flash the program memory. You only need to release ISP pin from ground in order to boot the MCU normally, and test the flashed firmware.

So, these sequences will all work to start bootloader and enter ISP mode:

a. Power Up Oven
b. Ground ISP pin
c. Ground RESET pin momentarily, then
d. Release grounded RESET pin
a. Ground ISP pin
b. Power up oven

After either one of the above sequences, remove grounding of ISP pin to return to the normal boot mode.

Only after burning the firmware in this repository, you can start the bootloader and enter ISP mode by:

a. Press and hold the F1 button on the oven console
b. Power up oven
c. Release F1 button

from t-962-improvements.

PerennialNovice avatar PerennialNovice commented on August 27, 2024

Yes, those are the instructions I am referring to

I followed the first sequence you describe, but FlashMagic could not connect.
The second sequence worked for me.

Since I always leave the possibility, that I did something wrong without knowing, I preferred to write that the instructions "seem" wrong...

from t-962-improvements.

borland1 avatar borland1 commented on August 27, 2024

The number 1 sequence above is essentially the same as what you say you had success with in your first post. Did you notice by the blank oven LCD display ( or lack of a blinking red LED on the control board ), if the MCU actually booted into ISP mode?

Besides booting to ISP mode, the serial port on the PC needs proper serial driver configuration settings before the FlashMagic utility can successfully Autobaud.

from t-962-improvements.

PerennialNovice avatar PerennialNovice commented on August 27, 2024

the LED went blank after tying the ISP pin to ground in sequence 2, but I did not check the display, sorry...

serial driver must have been OK, since it worked without any further steps when using sequence 1

Maybe it would be a good idea to also describe sequence 1 as an alternative on the main article?

from t-962-improvements.

intreatsys avatar intreatsys commented on August 27, 2024

Doooood THANK YOU. I also had to use sequence #2 to make this work.

from t-962-improvements.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.