Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

executing specific instruction after HW reset.

Status
Not open for further replies.

alphadog

Banned
Hello,
I have a CC2430 MCU which is connected to a flash memory.
I assume that HW reset in MCU means that i lower the RESET_N pin of the MCU and then i raise it back to 1 logic, right?

I would like that every time i initiate a hardware reset in the MCU, the MCU will afterwards send a Chip-Erase instruction to the flash.

Is it possible?
Is the MCU capable of distinguishing between HW reset, and other resets like SW reset, BOR, Power-up reset, reset caused by timer?

If not, then i dont know how i could use the double toggling of the RESET_N pin to send a Chip-Erase instruction to the flash, so if you have an idea, i'd appreciate it.

Thanks!
 
You're asking for help with an obscure processor, which I've never even heard of, it's quite possible that no one here has ever used it.

Read the datasheet, it should answer your questions, that's what it's there for.
 
I read the datasheet and i dont think that my MCU has the ability to distinguish between HW reset and POR.
In general, can MCUs discriminate between the two - HW reset and Power-up reset?

Thank you.
 
Last edited:
This MCU is used in my company, therefore i'm working with that MCU.

Can you please tell my in general, Do MCUs have the capability of this discrimination betweeen HW reset and POR?

Besides, is there any general idea for how i could use this RESET_N double toggling for sending instruction for flash?
 
Alright thanks!
I went through the datasheet again, and i saw that it contains two bits that tell whther the last reset was caused by
- power up reset (includes BOR also).
- external reset.
- watchdog timer reset.

Does external reset mean toggling twice the RESET_N pin of the MCU?
I didnt found any interpretation for 'external reset'.

Thank you again :)
 
nigel it's not that obscure, just not very popular for hobby ... it is "active" TI SoC chip.
System-on-Chip Solution for 2.4 GHz IEEE 802.15.4 / ZigBee™

**broken link removed**

very useful, very fast, very nice, very low power (as most TI ic's are)
Low Power RF ICs - 2.4 GHz - CC2430 - TI.com


alphadog, I have not used cc243x but it seams to 8051 as a uC core (bit enhanced version) and AES coprocessor so that should help you. With regards to reset, it will reset by 4 events (RESET pin low, power on, brown out, watchdog) but I have not found the detailed explanation so you will have to test it .. should be easy...

thats nifty little creature zigbee enabled .. quite interesting, donno what is the price dough
 
Status
Not open for further replies.

Latest threads

Back
Top