Thank you all for the replies. It's nice to find a community the is helpful and welcoming to new people. I feel a bit of an idiot, I did have my memory address wrong for the EEPROM, $8000 is the location shown not $E000. I'm not sure how I missed the IRQ vector, I was reading the primer and the
datasheet.
BigDumbDinosaur has a good point, I'm not really looking to hook up 8 I/Os at the same time on this. I really just want to be able to play with some things to learn them and I can do that one at a time.
So the changes I made were to remove four of I/O slots and to move my 7-seg leds up to $7000. I can always remove them and add something else if needed later on. The reason I wanted them was to be able to output something before the uart was configured. I'm mainly a software person and love lots of debug output to help track down issues
So with the comments taken this is my revised memory map:
Code:
a15 a14 a13 a12 a11 a10 a09 a08 a07 a06 a05 a04 a03 a02 a01 a00
0000 0 0 0 | 0 0 0 0 0 0 0 0 0 0 0 0 0 (64K SRAM, AS6C6264A-70PCN)
2000 0 0 1 | 0 0 0 0 0 0 0 0 0 0 0 0 0 (64K SRAM, AS6C6264A-70PCN)
4000 0 1 0 | 0 | 0 0 0 0 0 0 0 0 0 0 0 0 I/O 1 (DUART, SC28L92A1A,529)
5000 0 1 0 | 1 | 0 0 0 0 0 0 0 0 0 0 0 0 I/O 2 (RTC, M48T02-70PC1)
6000 0 1 1 | 0 | 0 0 0 0 0 0 0 0 0 0 0 0 I/O 3
7000 0 1 1 | 1 | 0 0 0 0 0 0 0 0 0 0 0 0 I/O 4 (Debug, two SN74HC573ANE4 & LTS-4301JR)
8000 1 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (256K EEPROM, AT28C256-15PU)
BigDumbDinosaur mentioned that the ST16C2450IQ48-F) is a bad choice for a DUART. I would like to stick with 2 UARTs, one for a serial connection to my laptop and one to have another device with. I was thinking of trying
PICASO down the line.
I picked the in because it was from Exar and they make the
XR16L788IQ-F that I thought would be interesting to play with one day down the line in other projects. I may be naive but I figured two devices from the same manufacture would be similar enough that knowledge learned on one might transfer to another. That being said I'm not against using a different DUART but would like to keep the DIP package which leads me back to the ST16C2450IQ48-F (at least on mouser.
(googling)
Showing how little I know, I didn't even realize there were different kinds of UARTs. I found
this explaining the 16450 and 16550. I see how the 16450 is rather lame. At this point I'm leaning towards the
SC28L92. The PLCC-44 isn't bad but a DIP package would be much easier. Wish manufacturers made more things in DIPs.
Any other advice, comments, etc. with the modifications to the memory map?
Thank you again for replies and being so helpful to a new person
- Justin