Hello everybody,
I've just now ported uclinux over arm7 (oki ml675001).  To be more specific
I have started with writing a simple application program to send some 16 bit
data on its external data pins.

1) The following statement doesn't work. Can anyone suggest the way out? Any
tutorials or sample codes for arm7 ?

(*(volatile unsigned short int  *)(PORT_ADDR) = (data));

2) Also on minicom, scanf ("%X".&data), doesn't accept the data from the
terminal. It shows "data=0" but done with "%d" it accepts and displays in
both the formats.
Is this a normal thing and hence I should always use scanf with %d to feed
the data?Will it then write in hexadecimal mode on the target? On
hyperterminal or Tera Term this problem doesn't arise though.

Thanx in advance.

Kunal.
_______________________________________________
uClinux-dev mailing list
[EMAIL PROTECTED]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [EMAIL PROTECTED]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to