Thursday, September 06, 2007

JTAG

JTAG is a jargon of the testing industry, and I have not understood it the first time I read about it. But it's not too difficult to understand if you follow the explanation in this tutorial. More advance concept like JTAG clock frequency, bypass mode, daisy chain operation needs explanation. But I guess I won't be needing the understanding any time soon.

Wednesday, September 05, 2007

GHS debug probe

The GHS probe has its own CPU (don't know what model though). The probe configuration can be accessed in several ways:
1) using serial comm via COM (RS-232) port (need null modem cable)
2) using telnet or web browser via Ethernet (RJ-45) port (need Ethernet cable)
3) using GHS graphical probe administrator via Ethernet (RJ-45) port (need utility gpadmin.exe)
4) using serial comm via USB port (need usb driver)

we can use Tera Term Pro as the serial comm application.

Sunday, September 02, 2007

stack frame

was trying to understand how stack tracing work... so went to look it up in wikipedia.

GHS-INTEGRITY

This RTOS is so baffling... I was trying to compile a simple application that prints "hello world" but the elxr linker blurted out this line:

(error) cannot find file C:\NG-PDH\int508\ixdp425\crt0.o

Let me explain a bit. C:\NG-PDH\int508\ is where I place the RTOS system files, which is INTEGRITY version 5.08. ixdp425 is where the bsp files are. I looked into the bsp directory, sure enough there isn't any crt0.o. The problem is, how can this file be generated? or is this file necessary? or did I screw up the build process because of wrong options in default.gpj.

o.. the ccintarm also complain:

Warning: Cannot open library libres.a
Warning: Cannot open library libbsp.a