I use MBX860-002 board and Tornado.
I have some questions about EPPCBug (The PowerPC debugger) which is contained in
both the socketed "Boot ROM" device
and the four soldered 32-pin PLCC Flash devices on the MBX860 board.
Using EPPCBug, you can flash bootrom.bin into the soldered Flash device.
I expect EPPCBug is placed at locations ($FC000000) to ($FC000100),
since EPPCBug firmware takes up 512 KB (128K words) of space and
I flash bootrom.bin starting from ($FC000100).
Q1.) "EPPC-Bug>plash 4000:83fff fc000100" command erases block# 0000 ($FC000000).
Does it leave ($FC000000) to ($FC000100) unerased?
Q2.) At that moment, I use EPPCBug when the selected device is socketed "Boot ROM"
by installing corresponding jumper (J4) across pins 1 and 2.
How can I use EPPCBug, when the current selected device is soldered Flash?
Q3.) In the manuals for MBX860, it is written that various EPPCBug routines are
available to user programs through the system call handler, how?
I appreciate your interest, thanks
Warmest regards, Reyhan
--------------9046091473E1C2C916E8592F
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Reyhan ERGUN
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Reyhan ERGUN
n: ;Reyhan ERGUN
org: ASELSAN INC.
adr: Microwave and System Technologies Division ;;Software Engineering Dept.;ANKARA;;;TURKEY
email;internet: fin...@mst.aselsan.com.tr
tel;work: (90-312) 385 19 00 (Ext. 2668)
tel;fax: (90-312) 354 52 05
note: http://www.aselsan.com.tr
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
--------------9046091473E1C2C916E8592F--
Reyhan,
Question 1: I do not know. It is an interesting question and can be easily investigated using the PPCBug
md command. We have always programmed form the beginning of flash.
Question 2: If you want to use PPCBug and run your code, you can ROMboot your code. Read the ROMBoot
section in the PPCBug Firmware Package User's Manual. It contains a good explanation on how to do a romboot
program. You can get the manual from Motorola's website. You need to program the flash with your code and
a ROMBoot header. Then setup up the ROMBoot environment using the env command (See your boards installation
and use manual). Set the jumper to the PPCBug setting and boot the board. Try rb;v at first so you can see
what is happening when the romboot is looking for you code. If you want mor info contact me at
pfra...@paradyne.com
Question 3:
We are using a Motorola MTX 604 card with PPCBug. You can use the PPCBug routines in a program but you have
to boot with PPCBug and then ROMboot your program. Unfortunately VxWorks wipes out the PPCBug environment
when it is started. Therefore it is almost impossible to use the PPCBug routines from VxWorks.
We do use PPCBug to do the board selftest for us. We boot with PPCBug romboot to the rominit routine and
retrieve the selftest results before executing the vxworks startup code. If you would like more info.
Contact me at pfra...@paradyne.com.
Peter F.
(1) configure the board so that at power-up, PPCBug runs.
(2) Use the PPCBug romboot feature to jump to bootrom.bin.
(3) Just after the bootrom.bin entry point and before ram
is initialized, invoke the PPCBug syscalls you wish to run.
(4) Let the bootrom.bin continue with its vxWorks boot kernel init.
(5) PPCBug context now no longer exists, just vxWorks. Cant do
syscalls.
--
-----------------------
Scott Kamara
AP Data Systems
Seattle Engr. Office
(206) 525-8592
sc...@aplabs.com