Michal Konieczny | 1 Dec 15:26 2005
Picon

Re: Re: hc12mem 1.2 - added support for serial monitor, and port of monitor to GNU t

> Michal,
> 
> You have great skills for low-level driver code writing. Have you
> thought about creating a standard API for linux and Windows that would
> support your low-level functions?

Yes, I'm thinking about it. I'd like to turn my code into something like 
external library to gdb, requiring only small static interface within gdb, and 
all further work - support for different chips, bdm pods, serial monitors, etc 
- to be moved to external "plugin". If we'll design the interface to satisfy 
various needs, we can turn it into something more universal.
If you can describe your requirements in somewhat more detail, we can try to 
specify something.

Best regards,

--

-- 
Michal Konieczny
mk <at> capri.pl

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
Sam Saprunoff | 1 Dec 21:51 2005
Picon

SPI Bug (undocumented) on 9S12DG128B - Mask 0L85D

Good day Everyone!

Here is an undocumented SPI Bug that I came across yesterday...

Device:       MC9S12DG128BCFU    (80 pin QFP) (Mask 0L85D)
SPI Port:    SPI0
Problem:    The SPI0 pins/system becomes clobbered when the Data direction 
register associated with the shared SPI pins is set (in particular when Bit 
3 is set).

According to the SPI spec, once the SPI is enabled (and MODRR is set 
correctly), the associated shared I/O pins and I/O registers have no effect 
on these pins.  Sadly, this is not the case.  Setting Bit 3 of the DDRM 
(Port M pins are shared with SPI0) stops the SPI0 from working.

Cheers,

Sam

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
Zoltán Kócsi | 1 Dec 23:01 2005
Picon

Re: SPI Bug (undocumented) on 9S12DG128B - Mask 0L85D

> Here is an undocumented SPI Bug that I came across yesterday...
> 
> Device:       MC9S12DG128BCFU    (80 pin QFP) (Mask 0L85D)
> SPI Port:    SPI0
> Problem:    The SPI0 pins/system becomes clobbered when the Data
> direction register associated with the shared SPI pins is set (in
> particular when Bit 3 is set).
> 
> According to the SPI spec, once the SPI is enabled (and MODRR is set 
> correctly), the associated shared I/O pins and I/O registers have no
> effect on these pins.  Sadly, this is not the case.  Setting Bit 3 of
> the DDRM (Port M pins are shared with SPI0) stops the SPI0 from
> working.

Assuming that your SPI is in master mode, did you set it into ignore SS?
Otherwise if SS (port M(3)) is programmed as input and it is pulled low
(or floating at low) then your SPI will signal mode fault and stop.
Details are in the SPI manual.

Zoltan

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
joss_scholten2000 | 2 Dec 01:55 2005
Picon

C32 Bug for Timer Interrupts?

Hi,

I was wondering if anyone had any knowledge of a bug on the timer port
of the C32.  I have several C32's where the one or more of the pins
fails to work as an input capture. The same code works on all of the
other pins, and the problem occurs on several different board? Anyone
know of or have similiar issues?

Thanks

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
zeta_alpha2002 | 2 Dec 04:43 2005
Picon

Re: C32 Bug for Timer Interrupts?

>Anyone
> know of or have similiar issues?

I used IC0 to IC5 all at once as input capture.  I did not encounter
this symptom you are encountering.

I used the 48 pin and 80pin version, latest mask set.

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
Donald E Haselwood | 2 Dec 05:01 2005
Picon
Picon

Re: Re: C32 Bug for Timer Interrupts?

>  >Anyone
>  > know of or have similiar issues?

I had what looked like a timer interrupt bug a few weeks ago.  I spent almost 
a week on it.  All my tests pointed to the hardware.  The problem was 
software, and in particular--

Timerinterrupt:
  dec  ctr  ; (unsigned char)
  bhi  x
y:  (do stuff)
 ...
x: rti

Every few seconds it would glitch.  I kept missing the glaring error in the 
above code (i.e. "dec" does not set the carry so "bhi" depends on what was 
going on in the mainline code when the interrupt occured).  What was really  
misleading was that it was working 99% of the time due to the code in the 
mainline happened to be nearly perfectly synchronous with the timer due to 
other interrupts.

Also working against me, was that I've written a lot of timer routines for the 
timer on the HC11 in assembly, i.e. a little hubris adds to the difficulty of 
debugging.

Net, try writing (from scratch) the simplest routine that will demostrate what 
appears to be the hardware fault.  Then, go from there.

Regards,

(Continue reading)

Eric Engler | 2 Dec 06:19 2005
Picon

Re: hc12mem 1.2 - added support for serial monitor, and port of monitor to GNU t

--- In 68HC12 <at> yahoogroups.com, Michal Konieczny <mk <at> c...> wrote:

> If you can describe your requirements in somewhat more detail, we
can try to 
> specify something.

I am currently only involved with the Windows side, so I'd be looking
for a DLL. 

However, it would be great if we could define a code base that would
also work on linux, with the obvious platform differences restricted
to a small number of files (things like COM port I/O, and DLL vs .so).
I'm not good enough with low-level details on linux to offer any help
on the linux side, but I like linux and I hope someone more familiar
with it can step up and help with this.

I can use anything you do for gdb if you keep it isolated from gdb
itself. I would like a portable driver spec, and then each particular
debugger could have it's own unique wrapper to let it use the
generalized driver model.

I assume you've been reading my messages here about what I want to do:
an open source visual debugger written in C#. I can interface with any
Win32 DLLs, so the driver code can be written in any language (C being
an obvious choice).

I've been delayed in my project because of a year-end crunch at work,
but I'll try to get some screenshots out soon, and the first beta may
come in late Jan or early Feb. I'll keep the initial features limited
to those things the serial monitor can support for my first release,
(Continue reading)

mohamed elramly | 2 Dec 14:28 2005
Picon

kit

    hi

iwant to know the prices of 68HC12 IC & kits
and graghical lcd woks with 68HC12
                                    thank you

		
---------------------------------
 Yahoo! Personals
 Let fate take it's course directly to your email.
 See who's waiting for you Yahoo! Personals

[Non-text portions of this message have been removed]

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
BobGardner | 2 Dec 14:32 2005
Picon

Re: kit


In a message dated 12/2/05 8:31:29 A.M. Eastern Standard Time,  
elramly1990 <at> yahoo.com writes:

graghical lcd woks 

------------------------------------------------
I saw them using those at the wok express

[Non-text portions of this message have been removed]

------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 
jsbouchard1978 | 2 Dec 20:52 2005
Picon

Serial Bootloader for HCS12xDP512

Is there something available to replace the serial bootloader that was 
available with MC9S12DP256B?

If not, has anyone attempted to modify this serial bootloader created 
for the MC9S12DP256B to adapt it to the MC9S12XDP512? 

I know that the original code  won't work because of the RAM mapping 
that is not available on the XGATE series, but there might be a way 
around this. 

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

 

Gmane