Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi wek,
thanks for your replies so far.
after i read your reply, i realised i have made a wrong description of the program execution. here is what's happening after re-lloking at the LA capture.
Actual events captured:
after fetching the first instruction of the main function which is the SUB...
I think the RAM is ok because when the SP is pointed to external address at 0x1700, the MCU is able to fetch from that external location. I checked this with the logic analyzer.
But after the MCU do the fetch @ address 0x1700 for the subtract, the MCU goes haywire by fetching data from address...
I set the SP in the assembly startup file provided by the compiler/assembler.
The below assembly execute at address 0x2080 and #SFE(CSTACK) takes a value which I specified in a configuration. Why is it so complicated. Well, compiler/assembler default procedure.
The value of #SFE(CSTACK) can...
I did not do anything to the stack. It happens when the main function is entered as you can see below. I do not understand why the IAR compiler produces this assembly to subtract the SP too...
Anyhow if I point the SP to internal RAM at address 0x200 and below, it works nevertheless, even with...
196kc logic analyzer
Anyone has experience with intel 80c196kc and its stack pointer?
I have problem declaring my stack pointer to external memory address even though the datasheet says the stack can be located in external or internal.... I have hooked up the MCU data and address lines to a...
lcd displays 6 digits with 44780
take a look this.
http://www.micro4you.com/product_info.php?products_id=65&osCsid=473ff1c8fae8842f1ad99c2ece28c03f
or else you can email me. I will try to help as I know some LCD sources.
Added after 7 minutes:
sorry that has controller. maybe this is...
inese
I have experience and can provide deisgn services in the following areas. Email me at kasd@inbox.lv
LCD Control
Inter-connect: USB salve and host, Serial Interface, UART, RS232, RS422, RS485, LVDS etc
Mass Storage Control: ATA/ATAPI
Motor Control
Infra-Red Devices
Neural Network
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.