DSPRelated.com
Forums

56F8300DSK (Demo board) PWM problem.

Started by mickmonx June 7, 2004
Hello,

I'm new to this forum, I recently obtained a 56F8300DSK Demo board
(with a 56F8323 on board) and I have been struggling to get it up
and running. I have managed to write a simple program that toggles
an LED (I have also achieved this using the Processor Expert
function) but I am currently unable to get a PWM outpur (either
using PE or not).

I have tried numerous register configurations without success, it
doesn't seem like it should be very difficult to get going as there
are not that many registers to set up.

I would appreciate any suggestions anyone has, hopefully somebody
may be able to provide some register settings from some working PWM
code.

Cheers

PS Does anybody know of a source of example code for the 56F83xx
processors, I haven't managed to find anything so far.



Hi to everyone, people!
I'm building a equipment using 3 dsp56309 boards with
a "supevisory" microcontroller unit. I must fit dsp
firmwares on microcontroller flash, and it will handle
boot via SCI port over 3 dsps...

How I can obtain simple binary loadable code ??? I try
many SREC.EXE options but never I obtain simple code..
example : If I have my program
org p:$0
jmp $100

I should have a simple sequence to boot from SCI as:

<lenght of program>
<adress to star boot>
0AF080
000100
...
...
<end of program and so on....but srec generetaes only standard S3
format with many controls, carriage ret and crc ...
do you knpw a method to obtain pure 24 bit word code
to fit in flash without loss of space ??

thank you in advance, people!

Filippo

=====
-- F.Tigli SCPOP author ---

Visit our Web site
www.scpop.de

--------------------------- __________________________________



You might write a loader that you load first into the micro (if it's loading the DSPs from the flash memory) that strips off the controls and creates an image that is pure binary from what is sent to it from the outside and that it stores in flash memory as pure binary.  It can then load the DSPs.
 
I did this kind of thing in the past for DSP56009 and M68HC11.

Tigli Filippo <f...@yahoo.com> wrote:
Hi to everyone, people!
I'm building a equipment using 3 dsp56309 boards with
a "supevisory" microcontroller unit. I must fit dsp
firmwares on microcontroller flash, and it will handle
boot via SCI port over 3 dsps...

How I can obtain simple binary loadable code ??? I try
many SREC.EXE options but never I obtain simple code..
example : If I have my program 
org     p:$0
        jmp $100

I should have a simple sequence to boot from SCI as:

<lenght of program>
<adress to star boot>
0AF080  
000100
...
...
<end of programand so on....but srec generetaes only standard S3
format with many controls, carriage ret and crc ...
do you knpw a method to obtain pure 24 bit word code
to fit in flash without loss of space ??

thank you in advance, people!

Filippo

=====
-- F.Tigli SCPOP author ---

   Visit our Web site
     www.scpop.de

---------------------------
     
           
__________________________________



_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3



Message
Attaching a conversion program that runs in MSDOS.
S2bin101.zip. have never used program so I can't guarantee the end product.
Hope it gets through. If not it will be Friday 6/11 before I will be back.
P.S. Scanned zip file with NAV. Virus defs updated this AM. Reported Okay
Stu
-----Original Message-----
From: Kenneth Ciszewski [mailto:k...@swbell.net]
Sent: Tuesday, June 08, 2004 11:38 PM
To: Tigli Filippo; m...@yahoogroups.com
Subject: Re: [motoroladsp] How to obtain pure binary loadable files??

You might write a loader that you load first into the micro (if it's loading the DSPs from the flash memory) that strips off the controls and creates an image that is pure binary from what is sent to it from the outside and that it stores in flash memory as pure binary.  It can then load the DSPs.
 
I did this kind of thing in the past for DSP56009 and M68HC11.

Tigli Filippo <f...@yahoo.com> wrote:
Hi to everyone, people!
I'm building a equipment using 3 dsp56309 boards with
a "supevisory" microcontroller unit. I must fit dsp
firmwares on microcontroller flash, and it will handle
boot via SCI port over 3 dsps...

How I can obtain simple binary loadable code ??? I try
many SREC.EXE options but never I obtain simple code..
example : If I have my program 
org     p:$0
        jmp $100

I should have a simple sequence to boot from SCI as:

<lenght of program>
<adress to star boot>
0AF080  
000100
...
...
<end of programand so on....but srec generetaes only standard S3
format with many controls, carriage ret and crc ...
do you knpw a method to obtain pure 24 bit word code
to fit in flash without loss of space ??

thank you in advance, people!

Filippo

=====
-- F.Tigli SCPOP author ---

   Visit our Web site
     www.scpop.de

---------------------------
     
           
__________________________________



_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


Attachment (not stored)
s2bin101.zip
Type: application/zip


Thank you to everyone, guys, and to Stuart.
Your utility srec2bin works fine and it is exactly
what I need. I tested it.. and it creates pure binary
sequence ready to load in flash (only 6 initial words
must be added) to obtian a Dsp5630x bootable program
ready to fit in flash..

Thank you again !!!!!

(Note - I cannot use asm utilities due to my
architecture.. a ECOG controller handles flash memory;
it contains more firmwares ready to load on 3 dsps...
With this utility I can obtain on one shot loadable
code :-) --- Stuart Brooks <> wrote

> Attaching a conversion program that runs in MSDOS.
> S2bin101.zip. have never used program so I can't
> guarantee the end
> product.
> Hope it gets through. If not it will be Friday 6/11
> before I will be
> back.
> P.S. Scanned zip file with NAV. Virus defs updated
> this AM. Reported
> Okay
> Stu
>
> -----Original Message-----
> From: Kenneth Ciszewski [mailto:]
> Sent: Tuesday, June 08, 2004 11:38 PM
> To: Tigli Filippo;
> Subject: Re: [motoroladsp] How to obtain pure binary
> loadable files?? > You might write a loader that you load first into
> the micro (if it's
> loading the DSPs from the flash memory) that strips
> off the controls
> and creates an image that is pure binary from what
> is sent to it from
> the outside and that it stores in flash memory as
> pure binary. It can
> then load the DSPs.
>
> I did this kind of thing in the past for DSP56009
> and M68HC11.
>
> Tigli Filippo <> wrote:
>
> Hi to everyone, people!
> I'm building a equipment using 3 dsp56309 boards
> with
> a "supevisory" microcontroller unit. I must fit dsp
> firmwares on microcontroller flash, and it will
> handle
> boot via SCI port over 3 dsps...
>
> How I can obtain simple binary loadable code ??? I
> try
> many SREC.EXE options but never I obtain simple
> code..
> example : If I have my program
> org p:$0
> jmp $100
>
> I should have a simple sequence to boot from SCI as:
>
> <lenght of program>
> <adress to star boot>
> 0AF080
> 000100
> ...
> ...
> <end of program > and so on....but srec generetaes only standard S3
> format with many controls, carriage ret and crc ...
> do you knpw a method to obtain pure 24 bit word code
> to fit in flash without loss of space ??
>
> thank you in advance, people!
>
> Filippo >
>
> =====
> -- F.Tigli SCPOP author ---
>
> Visit our Web site
> www.scpop.de
>
> --------------------------- > __________________________________ >
> _____________________________________
> Note: If you do a simple "reply" with your email
> client, only the
> author of this message will receive your answer.
> You need to do a
> "reply all" if you want your answer to be
> distributed to the entire
> group.
>
> _____________________________________
> About this discussion group:
>
> To Join:
>
> To Post:
>
> To Leave:
>
> Archives:
> http://www.yahoogroups.com/group/motoroladsp
>
> More Groups: http://www.dsprelated.com/groups.php3 >
>
> _____________________________________
> Note: If you do a simple "reply" with your email
> client, only the
> author of this message will receive your answer.
> You need to do a
> "reply all" if you want your answer to be
> distributed to the entire
> group.
>
> _____________________________________
> About this discussion group:
>
> To Join:
>
> To Post:
>
> To Leave:
>
> Archives:
> http://www.yahoogroups.com/group/motoroladsp
>
> More Groups: http://www.dsprelated.com/groups.php3 >
>
<http://rd.yahoo.com/SIG9tqvtuq/M(5832.4915498.6053011.1269404/D=
>
groups/S05771855:HM/EXP86865925/A!05440/R=0/SIGdpdlr1u/*htt
>
p://www.householdfinance.com/ln/TrackingServlet?cmd_MediaCode=&fc=APS&
>
mkt0&mcPSYAYA004001B220000U0300L0010000000000&dest=HOME_PAGE>
> click here <http://us.adserver.yahoo.com/l?M(5832.4915498.6053011.1269404/D=gro
> ups/S=:HM/A!05440/rand6138373 > _____
>
> > . >

> ATTACHMENT part 2 application/zip name=s2bin101.zip
=====
-- F.Tigli SCPOP author ---

Visit our Web site
www.scpop.de

--------------------------- __________________________________