Spi Serial Flash Programmer Schematic Drawings
So you're asking how to determine whether a chip can be in-system programmed. There's a lot of factors to that, but the ones I can think of are: • selective powering: Can you power the memory IC without starting the rest of the system? If giving power to that IC means you power the microcontroller it's connected to, and you have no way of stopping that microcontroller from using the SPI lines you want to connect to to talk to the memory chip, then this can't work. In essence, you'll have a hard time if the memory IC and the microcontroller run from the same power supply, and the microcontroller doesn't have an externally accessible reset pin. Also, if the same power supply powers other components, what will happen?
• Side effects of the programming itself: are there other devices on the SPI bus? When the microcontroller is powered of, will these have a chip select line that is deasserted, i.e. Will they know that they're not 'meant' to be talked to? • Pin direction problems: Now, your MCU is powered off or in reset, but you power your memory and do some communication on the SPI bus. In which state are the pins of the MCU that connect to the memory when powered off/ in reset? Are they shorted to ground, pulled up to VCC? Is it OK to apply e.g.
3.3V to pins when the MCU is powered off, or will it be damaged? $ begingroup $ Just to clarify, when we do in-system programming, I assume that board should be powered Off, as we want to talk directly with the memory chip, and +3.3V Power Supply will be applied to flash chip VCC pin from an external programmer. The flash chip connected via MCU which control whole device, yes. MCU have an externally accessible reset pin.
As I have no schematic diagram of circuit board or detailed specs, I can't be more specific than that. I can't tell about p.1, p.2, p.3 since circuit diagram is not available. But I can take risks in hope that MCU will not be burnt.
$ endgroup $ – Aug 13 '18 at 22:03. In-system programming a chip without knowledge of the rest of the design is fraud with dangers. First the device needs to have power. If the board works with it's own supply you are lucky.
RM48 HDK Kit. From Texas Instruments Wiki. (SPI mode) 1 USB host herder and 1 SUB device connector. The PDF format schematic drawings for the RM48 HDK is.
If not you you have to supply the voltage. The power pin (lets assume 3V3) will be connected to the power of all other 3V3 pins. Thus you have to provide enough current to drive all the 3V3 logic. This is your first chance to blow up the board as the 3V3 supply might not like it to have power driven INTO its output. Also there may be other chips on the board which run of a different supply. Only partial powering the board may damage them.
Lets's assume you have safely supplied power. Next you have to drive the SPI signals: CS, SCLK and MOSI. But these pins will already be connected to other chips on the board *. Here is your second chance to blow up the board. If you drive them externally, you have two outputs working against each other.
To get a good quality signal, you probably have to drive the signals harder then the existing chips. Therefore you are likely to damage the existing signal driver chips. * The existing in-system driver software may be able to disconnect (tri-state) the normal driver chips if the device is to be programmed. However the board may be designed for the SPI chip to be programmed before it is soldered soldered. IN which case the board will not be designed for in-system prorgamming.
About Micron Insight Micron Insight brings you stories about how technology transforms information to enrich lives. Learn, imagine, innovate, solve, and gain insight on the technology trends of today and tomorrow from thought leaders around the world. Hitmanpro trial reset. We've built our technological expertise for over 40 years and now we are sharing that expertise with you. Learn how intelligence is being accelerated to enrich life in science and medicine, at the edge, and through the speed of data access and analysis. Accelerate your Intelligence at Micron Insight.