Hi there I've added some extra 64Kb of RAM on my KC167CR development board. This memory sould be \CS2 selectable at a starting address of 0x50000. I got problems in selecting that RAM chip. The \CS2 is not going low is it should. In C166 the memory settings are:
RAM1 (0x0000 to 0x10000) and RAM2 (0x50000 to 0x60000)
%DEFINE (ADDRESS1) (0000H); Set CS1# Start Address %DEFINE (RANGE1) (64K) . . %DEFINE (ADDRESS2) (50000H); Set CS2# Start Address %DEFINE (RANGE2) (64K)
Did you: $SET (BUSCON2 = 1)
Thanks Vida Yes the appropriate BUSCON is SET. I believe that I'm doing something wrong with the External Memory settings (in the Target Options menu) in conjuction with the Monitor settings. I would really appreciate if you could give me the memory settings you are using in C166 and Monitor in order to figure out what my settings should be. Thanks George
I am using RXtiny small External Memory settings: start size #1 ROM 0x0 0x10000 #2 RAM 0x10000 0x40000 Monitor settings for Phytec MM167 Board You need under Options - L166 Misc RESERVE: 8H-0BH, 0ACH-0AFH For correct using the Monitor with a Phytec developent board: connect the PC COM port to P1 connector Jumper Settings of the development board: XX = jumper O = free pin O X X O O O X X O X X O O O O O O O X O O O X O O X X O O X O O O O O O O X X X X X X O O O O O O O O X O O O X O O O X X O X O X X JP20 JP9 = open JP1 = closed between 1+2 Simultaneously press the Reset (S1) and Boot (S2) switches on the Development Board, first releasing the Reset (S1) and then, two or three seconds later, release the Boot (S2) switch. This sequence of pressing and releasing the Reset (S1) and Boot (S2) switches renders the miniMODUL-167 into the Bootstrap mode. BOOTSTRAP MODE ============== Memory map: 00:0000h - 00:EFFFh free RAM 00:F000h - 00:FFFFh internal RAM and SFR's 01:0000h - 0F:E9FFh free RAM (optional) 0F:EA00h - 0F:EBFFh RAM used by Monitor (Data Area) 0F:EC00h - 0F:FFFFh RAM used by Monitor (Code Area) 10:0000h - 1F:FFFFh optinal free RAM (optional) 20:0000h - 23:FFFFh Flash ROM 24:0000h - .... Flash ROM (optional)
Thank you so much Vida for your time.