Pemicro blog

Additionally to supporting the flash that resides in several microcontrollers, PEmicro supports flash linked to an MCU through the SPI, I2C, and Address/Data bus interfaces. For the way the flash system is attached to the MCU, the programming formula might need to be established to correctly configure the exterior address, data, and bus control pins from the MCU. If you’re not confident that you chose the best formula for the flash memory, please also look at this blog publish on picking out a flash formula.

Within the situation of flash recollections attached to the address/data bus of the MCU, it can be hard to know once the nick select and/or any other control pins are configured correctly. Most frequently the problem is the exterior flash memory Nick Enable (~CE), Output Enable (~OE), or Write Enable (WE) signals have not been driven correctly. This web site publish describes a method to take a look at these 3 signals to find out if they’re being driven correctly.

Figure 1: Exterior Flash Nick Select Pin Connections

Different algorithms make different assumptions regarding the way the flash products are attached to the MCU. For example, having a NOR flash linked to a Coldfire MCU through the address/data bus, most PEmicro exterior algorithms think that address/data bus signals default towards the appropriate functions from reset, which the flash’s Nick Enable pin is attached to the ColdFire device’s Global Boot Nick Select and also the flashes’ Output Enable and Write Enable pins are generally attached to the ColdFire device’s “Read, Not Write” pin.

However, there are lots of other connection configurations, and PEmicro‘s algorithms could be established to suit many of them. For instance, the configuration could be altered to some non-global nick select, to make use of multiple nick selects to create the CE so we signals, in order to enable additional hardware specific enable signals as necessary. WRITE_BYTE, WRITE_WORD, and WRITE_Lengthy instructions (amongst others) may be included to the programming formula header to configure the MCU peripheral registers when needed before programming. Make reference to the documentation for more information.

Let’s say the flash does not program or read correctly throughout a flash programming session? Chances are a configuration issue. PEmicro‘s interactive PROG flash programming software includes a “Nick Select Diagnostics Mode” to assist trobleshoot and fix this. This really is helpful when the user has the capacity to load the exterior Flash formula although not see the items in Flash, program it, or erase it. The Diagnostics Mode can verify the control signals are asserted properly for Flash operations.

The Diagnostics mode can be used along with an oscilloscope or logic probe to ensure that each control pin could be checked for that proper condition when being able to access the Flash memory. The probes ought to be connected straight to the pins around the Flash memory device itself to precisely show the signal claims that the flash gets. The Diagnostic Mode offers the capacity to carry out a single 32-bit read or email the flash memory region. The consumer may then make certain the signals around the flash toggle appropriately.

Pemicro blog Select Diagnostics Mode From Toolbar

Whenever a write operation is conducted, the next should take place: the ~CE (nick enable) from the flash pulses low, the ~WE (write enable) from the flash pulses low, and also the ~OE (output enable) from the flash remains high.

Whenever a read operation is conducted, the next should take place : the ~CE (nick enable) from the flash pulses low, the ~WE (write enable) from the flash stays high, and also the ~OE (output enable) from the flash pulses low.

When the signals don’t toggle correctly, check if the nick select region is configured for that proper address range inside the MCU (the Diagnostics utility signifies the expected nick select address range) which all peripherals and pin assignment registers are configured correctly.

Within the following example, the Diagnostics mode can be used to ensure the programming formula configuration to have an AM29LV320DB attached to the CS0 nick select on the NXP ColdFire MCF5272.

The Diagnostics mode is utilized with the tool bar in the ChipSelectDiagnostics option inside the interactive flash programming software.

Figure 2: Select Diagnostics Mode From Toolbar (CLICK TO ENLARGE

Additionally to supporting the flash that resides in several microcontrollers, PEmicro supports flash linked to an MCU through the SPI, I2C, and Address/Data bus interfaces. For the way the flash system is attached to the MCU, the programming formula might need to be established to correctly configure the exterior address, data, and bus control pins from the MCU. If you’re not confident that you chose the best formula for the flash memory, please also look at this blog publish on picking out a flash formula.

Within the situation of flash recollections attached to the address/data bus of the MCU, it can be hard to know once the nick select and/or any other control pins are configured correctly. Most frequently the problem is the exterior flash memory Nick Enable (~CE), Output Enable (~OE), or Write Enable (WE) signals have not been driven correctly. This web site publish describes a method to take a look at these 3 signals to find out if they’re being driven correctly.

Figure 1: Exterior Flash Nick Select Pin Connections

Different algorithms make different assumptions regarding the way the flash products are attached to the MCU. For example, having a NOR flash linked to a Coldfire MCU through the address/data bus, most PEmicro exterior algorithms think that address/data bus signals default towards the appropriate functions from reset, which the flash’s Nick Enable pin is attached to the ColdFire device’s Global Boot Nick Select and also the flashes’ Output Enable and Write Enable pins are generally attached to the ColdFire device’s “Read, Not Write” pin.

However, there are lots of other connection configurations, and PEmicro‘s algorithms could be established to suit many of them. For instance, the configuration could be altered to some non-global nick select, to make use of multiple nick selects to create the CE so we signals, in order to enable additional hardware specific enable signals as necessary. WRITE_BYTE, WRITE_WORD, and WRITE_Lengthy instructions (amongst others) may be included to the programming formula header to configure the MCU peripheral registers when needed before programming. Make reference to the documentation for more information.

Let’s say the flash does not program or read correctly throughout a flash programming session? Chances are a configuration issue. PEmicro‘s interactive PROG flash programming software includes a “Nick Select Diagnostics Mode” to assist trobleshoot and fix this. This really is helpful when the user has the capacity to load the exterior Flash formula although not see the items in Flash, program it, or erase it. The Diagnostics Mode can verify the control signals are asserted properly for Flash operations.

The Diagnostics mode can be used along with an oscilloscope or logic probe to ensure that each control pin could be checked for that proper condition when being able to access the Flash memory. The probes ought to be connected straight to the pins around the Flash memory device itself to precisely show the signal claims that the flash gets. The Diagnostic Mode offers the capacity to carry out a single 32-bit read or email the flash memory region. The consumer may then make certain the signals around the flash toggle appropriately.

Pemicro blog Select Diagnostics Mode From Toolbar

Whenever a write operation is conducted, the next should take place: the ~CE (nick enable) from the flash pulses low, the ~WE (write enable) from the flash pulses low, and also the ~OE (output enable) from the flash remains high.

Whenever a read operation is conducted, the next should take place : the ~CE (nick enable) from the flash pulses low, the ~WE (write enable) from the flash stays high, and also the ~OE (output enable) from the flash pulses low.

When the signals don’t toggle correctly, check if the nick select region is configured for that proper address range inside the MCU (the Diagnostics utility signifies the expected nick select address range) which all peripherals and pin assignment registers are configured correctly.

Within the following example, the Diagnostics mode can be used to ensure the programming formula configuration to have an AM29LV320DB attached to the CS0 nick select on the NXP ColdFire MCF5272.

The Diagnostics mode is utilized with the tool bar in the ChipSelectDiagnostics option inside the interactive flash programming software.

Figure 2: Select Diagnostics Mode From Toolbar (CLICK TO ENLARGE)

This is actually the Diagnostics Mode dialog. The nick selects are configured to become mixed up in address selection of $000000 to $3FFFFF. There’s two test operations which may be performed around the Flash: WRITE and browse.

Figure 3: Diagnostics Mode Dialog (CLICK TO ENLARGE)

Listed here are the outcomes from the diagnostics around the control signals from the AM29LV320DB linked to a 16 bit data bus.

Pemicro blog for that proper address range

Resourse: https://pemicro.com/blog/

PEmicro’s Cyclone Production Programmer Overview