We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
C161O, AMD AM29F002(N)BB 256K x 8 flash from 0x0 to 0x3FFFF, Cypress 128K RAM from 0x80000 to 0x9FFFF. 8-bit, non-mux bus at 16 MHz. The simplest program erases the sector at 0x8000, writes to it, then goes into a loop. When built under uVision 1, the target operates as expected. When built under uVision 2, the target erases the sector, but fails to write to it. Has anyone used C161, uVision2, and flash operations successfully?
Presumably, in the switch from UV1 to UV2, you also have different versions of the underlying tools? (compiler, assembler, linker, etc) Have you tried compiling from the command line, to see if you can isolate the change to either uVision or the tools? I think it should be possible to get UV2 to use the old tools by editing TOOLS.INI? (There was a thread on this recently) The listing files show the command-line options used - have you checked that UV2 is using a sensible/appropriate set of options?