Rowen, The registers that are used to set up the TPU are at a base offset of $ff fe00. This is where the module configuration register, the Channel Function Select registers, Host Service Request Registers, etc. are located. The parameter RAM is located at a base offset of $ff ff00 or $7f ff00, depending upon the programming of the MM bit in the Module Configuration Register. I don't know what header file would start at an offset of $a000. Are you using custom microcode for the TPU or are you using the standard TPU functions? What may be happening is that the original programmer is using $FF FE00 to tell the program WHERE the registers are located. The file at $A000 may be the actual program that programs the registers located at $FF FE00. This is just a guess. Regards, Charlie -----Original Message----- From: Rowen [mailto:sanuriel@...] Sent: Monday, August 11, 2003 2:29 PM To: 68300@yahoogroups.com Subject: [68300] Trouble programming TPU Hello all, I'm currently working on a project that involves a MC68332 in which I need it to be able to read the length of pulses using its TPU lines. However I have a few issues. First of all until this point the only assembly I've programmed has been for Intel processors so it feels very unfamiliar here. Secondly the device has two header files that seem called by a main header file. One says "TpuBase = 00a000" the other states "tpubase = fffe00" I'm not sure which is right, but I know I can't get a program to compile to get this thing working...Thanks all Rowen Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=1706554205:HM/A=1693352/R=0/SIG=11tralmvc/*http://www.netflix.com/Default?mqso=60178293&partid=3170658> click here <http://us.adserver.yahoo.com/l?M=251812.3170658.4537139.1261774/D=egroupmail/S=:HM/A=1693352/rand=958345015> --------------------------------------------------- To unsubscribe from this group, send an email to: 68300-unsubscribe@yahoogroups.com To learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu <http://www.motorola.com/mcu> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed]
Message
RE: [68300] Trouble programming TPU
2003-08-11 by Melear Charles-rdph40
Attachments
- No local attachments were found for this message.