From: Maarten B. <sou...@ds...> - 2008-02-20 22:17:15
|
Richard, By the file I expect you mean his PKCS signature certificate? Why are you so afraid of it? If you already trust who he is or don't care, just ignore the file. > Can one safely open this file? Nobody with any sense would do that! > > ----- Original Message ----- > From: "Giovanni Lovato" <gio...@al...> > To: <Sdc...@li...> > Sent: Wednesday, February 20, 2008 11:58 AM > Subject: [Sdcc-user] I need a little help |
From: Maarten B. <sou...@ds...> - 2008-02-20 22:24:04
|
Giovanni, In the embedded world "Hello World" is usually replaced by the much more basic "Blinky" application which only blinks a LED. After you have done that you have verified that your processor at least starts up and runs your program. Then it is time to start thinking about more sophisticated stuff like "Hello World". Where would you expect the output by the way? On the other end of the wireless connection maybe? > I need to write an application for an embedded board (CC2430/Intel > 8051). Currently I don't have that board, so I'm supposed to simulate > the application... So my question is: where can I find a simple "hello > world" for CC2430/Intel 8051 that gives me some feedback during simulation? > > Thank you! > |
From: Giovanni L. <gio...@al...> - 2008-02-20 22:41:11
Attachments:
smime.p7s
|
Maarten Brock wrote: > Giovanni, > > In the embedded world "Hello World" is usually replaced by the much > more basic "Blinky" application which only blinks a LED. After you > have done that you have verified that your processor at least starts > up and runs your program. Then it is time to start thinking about > more sophisticated stuff like "Hello World". Where would you expect > the output by the way? On the other end of the wireless connection > maybe? I'm very new on the embedded world :) To start, I would like to understand how to get a minimal application compiled for CC2430 and be able to get a feedback of its correctness when simulated with ucsim... Thank you! |
From: Giovanni L. <gio...@al...> - 2008-02-25 09:06:27
Attachments:
smime.p7s
|
Giovanni Lovato wrote: > Maarten Brock wrote: >> Giovanni, >> >> In the embedded world "Hello World" is usually replaced by the much >> more basic "Blinky" application which only blinks a LED. After you >> have done that you have verified that your processor at least starts >> up and runs your program. Then it is time to start thinking about >> more sophisticated stuff like "Hello World". Where would you expect >> the output by the way? On the other end of the wireless connection >> maybe? > > I'm very new on the embedded world :) > To start, I would like to understand how to get a minimal application > compiled for CC2430 and be able to get a feedback of its correctness > when simulated with ucsim... So, no hints or suggestions? I tried a code found on the net: #include <stdio.h> #include <8051.h> void main (void) { SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD |= 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xf3; /* TH1: reload value for 2400 baud */ TR1 = 1; /* TR1: timer 1 run */ TI = 1; /* TI: set TI to send first char of UART */ printf("Hello, world!\n"); while (1) { ; } } then compiled with `sdcc main.c' and tried to simulate: # echo run | s51 -s/dev/pts/1 main.ihx but I get no output on /dev/pts/1! What am I missing? Thank you! |
From: Maarten B. <sou...@ds...> - 2008-02-25 09:24:32
|
> Giovanni Lovato wrote: >> Maarten Brock wrote: >>> Giovanni, >>> >>> In the embedded world "Hello World" is usually replaced by the much >>> more basic "Blinky" application which only blinks a LED. After you >>> have done that you have verified that your processor at least starts >>> up and runs your program. Then it is time to start thinking about >>> more sophisticated stuff like "Hello World". Where would you expect >>> the output by the way? On the other end of the wireless connection >>> maybe? >> >> I'm very new on the embedded world :) >> To start, I would like to understand how to get a minimal application >> compiled for CC2430 and be able to get a feedback of its correctness >> when simulated with ucsim... > > So, no hints or suggestions? I tried a code found on the net: > > #include <stdio.h> > #include <8051.h> > > void main (void) { > SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ > TMOD |= 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ > TH1 = 0xf3; /* TH1: reload value for 2400 baud */ > TR1 = 1; /* TR1: timer 1 run */ > TI = 1; /* TI: set TI to send first char of UART */ > > printf("Hello, world!\n"); > > while (1) { > ; > } > } > > then compiled with `sdcc main.c' and tried to simulate: > > # echo run | s51 -s/dev/pts/1 main.ihx > > but I get no output on /dev/pts/1! > What am I missing? > > Thank you! Didn't you get any error or warning when you compiled this? I would expect an unresolved putchar function. SDCC does not come with a default implementation for putchar, because in an embedded application the compiler doesn't know where the stdout output is supposed to go. And since you're using the simulator why don't you set a breakpoint at main and see where it goes step-by-step? Maarten |
From: Maarten B. <sou...@ds...> - 2008-02-21 07:45:26
|
I see no links in his email except the ones that SourceForge automatically added to it. There is nothing he or we can do about it. > He links to a site without any indication of what's there or why one > should/would visit it. As you can see, there's nothing else in his post. > > Lots of nasty things are spread in exactly that way every day ... but not by > me. > > regards, > > Richard Erlacher > > ----- Original Message ----- > From: "Maarten Brock" <sou...@ds...> > To: <sdc...@li...> > Sent: Wednesday, February 20, 2008 3:17 PM > Subject: Re: [Sdcc-user] I need a little help > > > > Richard, > > > > By the file I expect you mean his PKCS signature > > certificate? Why are you so afraid of it? If you already > > trust who he is or don't care, just ignore the file. > > > > > >> Can one safely open this file? Nobody with any sense would do that! > >> > >> ----- Original Message ----- > >> From: "Giovanni Lovato" <gio...@al...> > >> To: <Sdc...@li...> > >> Sent: Wednesday, February 20, 2008 11:58 AM > >> Subject: [Sdcc-user] I need a little help > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Sdcc-user mailing list > > Sdc...@li... > > https://lists.sourceforge.net/lists/listinfo/sdcc-user > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |
From: Richard E. <ed...@id...> - 2008-02-21 15:59:39
|
So, Sourceforge does that? The post is otherwise empty ... though it has an attachment or two. Not knowing what they are and how they came to be, one wouldn't ordinarily open an attachment. this is the entire post, as OE presents it: ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------------------------------------------------------------------------- Sdcc-user mailing list Sdc...@li... https://lists.sourceforge.net/lists/listinfo/sdcc-user I see the Sourceforge link, but what about the earlier one? So, what is this post telling us? regards, Richard Erlacher ----- Original Message ----- From: "Maarten Brock" <sou...@ds...> To: <sdc...@li...> Sent: Thursday, February 21, 2008 12:45 AM Subject: Re: [Sdcc-user] I need a little help >I see no links in his email except the ones that > SourceForge automatically added to it. There is nothing > he or we can do about it. > >> He links to a site without any indication of what's there or why one >> should/would visit it. As you can see, there's nothing else in his post. >> >> Lots of nasty things are spread in exactly that way every day ... but not >> by >> me. >> >> regards, >> >> Richard Erlacher >> >> ----- Original Message ----- >> From: "Maarten Brock" <sou...@ds...> >> To: <sdc...@li...> >> Sent: Wednesday, February 20, 2008 3:17 PM >> Subject: Re: [Sdcc-user] I need a little help >> >> >> > Richard, >> > >> > By the file I expect you mean his PKCS signature >> > certificate? Why are you so afraid of it? If you already >> > trust who he is or don't care, just ignore the file. >> > >> > >> >> Can one safely open this file? Nobody with any sense would do that! >> >> >> >> ----- Original Message ----- >> >> From: "Giovanni Lovato" <gio...@al...> >> >> To: <Sdc...@li...> >> >> Sent: Wednesday, February 20, 2008 11:58 AM >> >> Subject: [Sdcc-user] I need a little help >> > >> > >> > ------------------------------------------------------------------------- >> > This SF.net email is sponsored by: Microsoft >> > Defy all challenges. Microsoft(R) Visual Studio 2008. >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> > _______________________________________________ >> > Sdcc-user mailing list >> > Sdc...@li... >> > https://lists.sourceforge.net/lists/listinfo/sdcc-user >> > >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Sdcc-user mailing list >> Sdc...@li... >> https://lists.sourceforge.net/lists/listinfo/sdcc-user >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |
From: Maarten B. <sou...@ds...> - 2008-02-21 16:45:22
|
> Maybe it's time to use a serious e-mail client, such as Thunderbird or > Pegasus Mail. Hmm, allthough I still use Pegasus I would not recommend it for new users as it recently officially has been discontinued. Maarten |
From: Berwyn H. <be...@br...> - 2008-02-21 20:45:06
|
Really, Maarten? I see no mention of that on the official website and he's still talking about v5. Do you have a link? > Hmm, allthough I still use Pegasus I would not recommend it for new users > as it recently officially has been discontinued. > |
From: Maarten B. <sou...@ds...> - 2008-02-21 20:57:00
|
Huh? I'm sure I saw it on the website a while ago. Maybe something convinced him otherwise. Or maybe his website was just hacked? Nonetheless, I'm glad it continues to live ;-) > Really, Maarten? I see no mention of that on the official website and > he's still talking about v5. Do you have a link? > > > Hmm, allthough I still use Pegasus I would not recommend it for new users > > as it recently officially has been discontinued. |
From: Richard E. <ed...@id...> - 2008-02-22 07:12:26
|
This is the form in which the original email arrived. In the interim, I've received a message as follows: " Richard Erlacher wrote: > So, Sourceforge does that? The post is otherwise empty ... though it has > an > attachment or two. Not knowing what they are and how they came to be, one > wouldn't ordinarily open an attachment. My message wasn't empty, I don't know why you can't see its content and maybe you won't see this message neither. As Maarten well explained, the attachment is my PKCS12 signature, no need to open it if you don't know what is. Can you read Maarten's replies to my other messages? If so you should see my original post in his first reply. > this is the entire post, as OE presents it: [CUT] Maybe it's time to use a serious e-mail client, such as Thunderbird or Pegasus Mail. Bye, G.L. " I was able to open that message, but OE wouldn't allow me to reply because if had a digital signature. I use Thunderbird under Fedora, but not here ... yet. This box is used mainly for internet tasks. I don't find Thunderbird any more convenient than OE, or Eudora, or Outlook. Naturally they are a mite more convenient than were Elm or Pine. I don't use TECO or VI much any longer either, unless I have to. regards, Richard Erlacher ----- Original Message ----- From: "Giovanni Lovato" <gio...@al...> To: <sdc...@li...>; <ed...@id...> Sent: Thursday, February 21, 2008 9:37 AM Subject: Re: [Sdcc-user] I need a little help > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------------------------------------------------------------------------- > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |
From: Giovanni L. <gio...@al...> - 2008-02-21 16:37:28
Attachments:
smime.p7s
|
Richard Erlacher wrote: > So, Sourceforge does that? The post is otherwise empty ... though it has an > attachment or two. Not knowing what they are and how they came to be, one > wouldn't ordinarily open an attachment. My message wasn't empty, I don't know why you can't see its content and maybe you won't see this message neither. As Maarten well explained, the attachment is my PKCS12 signature, no need to open it if you don't know what is. Can you read Maarten's replies to my other messages? If so you should see my original post in his first reply. > this is the entire post, as OE presents it: [CUT] Maybe it's time to use a serious e-mail client, such as Thunderbird or Pegasus Mail. Bye, G.L. |
From: Richard E. <ed...@id...> - 2008-02-21 01:11:25
|
He links to a site without any indication of what's there or why one should/would visit it. As you can see, there's nothing else in his post. Lots of nasty things are spread in exactly that way every day ... but not by me. regards, Richard Erlacher ----- Original Message ----- From: "Maarten Brock" <sou...@ds...> To: <sdc...@li...> Sent: Wednesday, February 20, 2008 3:17 PM Subject: Re: [Sdcc-user] I need a little help > Richard, > > By the file I expect you mean his PKCS signature > certificate? Why are you so afraid of it? If you already > trust who he is or don't care, just ignore the file. > > >> Can one safely open this file? Nobody with any sense would do that! >> >> ----- Original Message ----- >> From: "Giovanni Lovato" <gio...@al...> >> To: <Sdc...@li...> >> Sent: Wednesday, February 20, 2008 11:58 AM >> Subject: [Sdcc-user] I need a little help > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |
From: Dave M. <mc...@ne...> - 2008-02-21 01:26:55
|
On Feb 20, 2008, at 8:11 PM, Richard Erlacher wrote: > He links to a site without any indication of what's there or why one > should/would visit it. As you can see, there's nothing else in his > post. > > Lots of nasty things are spread in exactly that way every day ... but > not by > me. Just don't use Windows, and that won't be a problem. ;) -Dave -- Dave McGuire Port Charlotte, FL |