This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bus configuration via uv4

Hello,

I have a NOR flash installed on a PCB, using the following pins (LPC2478):

P4.1 - P4.22 for address bus
P3.0 - P3.15 for data bus
P4.25 write enable
P4.24 output enable
P4.30 CS0

I have mapped a C module to 0x80000000, and instructed uv4 to configure the bus using this .ini file:

_WDWORD(0xE002C024, 0x10051555) ;
_WDWORD(0xE002C018, 0x55555555) ;
_WDWORD(0xE002C020, 0x55555554) ;

I have also setup the flash download set dialog with my NOR flash (it's a SST39).
However, uv4 does not even try to program the NOR flash. Obviously I forgetting something. Can you help me?

Parents
  • I have augmented my bus configuration to include some EMC stuff, like this:

    _WDWORD(0xE002C024, 0x10051555) ;
    _WDWORD(0xE002C018, 0x55555555) ;
    _WDWORD(0xE002C020, 0x55555554) ;
    _WDWORD(0xFFE08200, 0x81) ;
    _WDWORD(0xFFE08204, 0x2) ;
    _WDWORD(0xFFE08208, 0x2) ;
    _WDWORD(0xFFE0820C, 0x1F) ;
    _WDWORD(0xFFE08210, 0x1F) ;
    _WDWORD(0xFFE08214, 0x81) ;
    _WDWORD(0xFFE08218, 0x81) ;
    

    to no avail...!

Reply
  • I have augmented my bus configuration to include some EMC stuff, like this:

    _WDWORD(0xE002C024, 0x10051555) ;
    _WDWORD(0xE002C018, 0x55555555) ;
    _WDWORD(0xE002C020, 0x55555554) ;
    _WDWORD(0xFFE08200, 0x81) ;
    _WDWORD(0xFFE08204, 0x2) ;
    _WDWORD(0xFFE08208, 0x2) ;
    _WDWORD(0xFFE0820C, 0x1F) ;
    _WDWORD(0xFFE08210, 0x1F) ;
    _WDWORD(0xFFE08214, 0x81) ;
    _WDWORD(0xFFE08218, 0x81) ;
    

    to no avail...!

Children