|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
BootloaderHi Everyone, I just boutgth a AT91SAM7X-EX and I make it rnu the NutOS on it. Now I want a bootloader that use ethernet communication. I use to work with a AVR ATmega128 and their bootloader and I want something like this in the AT91SAM7X-EX. Is that possible? For sure it is; I was wondering if you could help or guide how to do that? Thank you Juan _________________________________________________________________ Windows Live™: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009 _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: BootloaderHello Juan,
I also have the AT91SAM7X-EX kit and also have an application using the at91sam7x256 and I wrote my own bootloader. I don't really wish to publish the complete code to the list but I will give you some hints if you want. I still use 4.4.0 release, and my dev tool is CrossStudio from Rowley so I have to do some work to convert makefiles into a CrossStudio project. But for me the effort is worth it as the debugger and tools are just great compared to the free ones. It is because I use Rowley that I dont have the time to convert everthing back and test again rather than any secret reason. You can contact me direct with questions if you have problems. Regards Dave Warren Luscher UK ----- Original Message ----- From: "Jason Bourne" <jucanpo@...> To: <en-nut-discussion@...> Sent: Saturday, February 14, 2009 7:44 PM Subject: [En-Nut-Discussion] Bootloader Hi Everyone, I just boutgth a AT91SAM7X-EX and I make it rnu the NutOS on it. Now I want a bootloader that use ethernet communication. I use to work with a AVR ATmega128 and their bootloader and I want something like this in the AT91SAM7X-EX. Is that possible? For sure it is; I was wondering if you could help or guide how to do that? Thank you Juan _________________________________________________________________ Windows Live™: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009 _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: BootloaderHi All,
> I just boutgth a AT91SAM7X-EX and I make it rnu the NutOS on it. Now I want a bootloader that use ethernet communication. > I use to work with a AVR ATmega128 and their bootloader and I want something like this in the AT91SAM7X-EX. > Is that possible? For sure it is; I was wondering if you could help or guide how to do that? I developed a TFTP bootloader for this board some time ago. I'll publish this bootloader in the next release (or, if I'll be too late) It will go into the upcomming development version. If you like I can send you the code as it is in advance. Regards, Ole Reinhardt -- _____________________________________________________________ | | | Embedded-IT Hard- und Softwarelösungen | | | | Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 | | Luisenstraße 29 Mobil: +49 (0)177 7420433 | | 57076 Siegen eMail: ole.reinhardt@... | | Germany Web: http://www.embedded-it.de | | UstID / VAT: DE198944716 | |_____________________________________________________________| _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: BootloaderOle, I would appreciate if you could send me the code as it is in advance. Also the procedure if you do not mind. Juan > From: ole.reinhardt@... > To: en-nut-discussion@... > Date: Wed, 18 Feb 2009 12:12:53 +0100 > Subject: Re: [En-Nut-Discussion] Bootloader > > Hi All, > > > I just boutgth a AT91SAM7X-EX and I make it rnu the NutOS on it. Now I want a bootloader that use ethernet communication. > > I use to work with a AVR ATmega128 and their bootloader and I want something like this in the AT91SAM7X-EX. > > Is that possible? For sure it is; I was wondering if you could help or guide how to do that? > > I developed a TFTP bootloader for this board some time ago. I'll publish > this bootloader in the next release (or, if I'll be too late) It will go > into the upcomming development version. > > If you like I can send you the code as it is in advance. > > Regards, > > Ole Reinhardt > > -- > _____________________________________________________________ > | | > | Embedded-IT Hard- und Softwarelösungen | > | | > | Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 | > | Luisenstraße 29 Mobil: +49 (0)177 7420433 | > | 57076 Siegen eMail: ole.reinhardt@... | > | Germany Web: http://www.embedded-it.de | > | UstID / VAT: DE198944716 | > |_____________________________________________________________| > > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion _________________________________________________________________ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Watchdog AT91SAM7XHi All, I am implementing the Watchdog for the AT91SAM7X but it does not work. I do not know what am I doing wrong? Thank you Juan _________________________________________________________________ Windows Live™ Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Watchdog AT91SAM7XHi Jason!
Im am new to this list, so I might have missed something. But I feel like it's difficult to help you without seeing any line of code. For the Watchdog there are only two pieces of code needed. One routine setting it up to the desired timeout value and enabling it. Second routine is only a shortcut to retrigger it right in time for the overlaying software. Call it a macro (like WDT in AVR code). Often I see code that disables a watchdog also assembled as a function. For my feeling that is very destructive as this anables a crashed software to execute this function on error what is exactly what noone will ever like to see. But it could exist in a macro then it is only compiled into the code if one really needs and calls it. Regards, Ulrich Jason Bourne wrote: > Hi All, > > > > I am implementing the Watchdog for the AT91SAM7X but it does not work. > > I do not know what am I doing wrong? > > > > Thank you > > > > Juan > > _________________________________________________________________ > Windows Live™ Contacts: Organize your contact list. > http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Watchdog AT91SAM7XOn Sat, Mar 7, 2009 at 7:05 AM, Jason Bourne <jucanpo@...> wrote:
> > Hi All, > > > > I am implementing the Watchdog for the AT91SAM7X but it does not work. > > I do not know what am I doing wrong? > > > > Thank you > > > > Juan > > and NutOs "saves us" by disabling it in: crtst91sam7x256_rom.S around line 175 ldr r1, =WDT_BASE ldr r0, =WDT_WDDIS str r0, [r1, #WDT_MR_OFF] Just comment that out and make sure to program the WatchDog within 16 Seconds to the value you want. long WDTime ; if ((WDTime=NutWatchDogStart(10000l, 0)) == 0) printf("Watchdog Problem\n"); else printf("Watchdog set at %ld Seconds\n",WDTime/1000); NutWatchDogEnable(); Then feed your dog regularly with: NutWatchDogRestart(); *E _________________________________________________________________ > Windows Live™ Contacts: Organize your contact list. > > http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion > _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Watchdog AT91SAM7XEric Haver wrote:
> Ola Juan,The SAM7X does not give you a second chance to program the DOG, > and NutOs "saves us" by disabling it in: crtst91sam7x256_rom.S around line In 4.7.5 beta and the upcoming 4.8, which I'm preparing right now, this is configurable. Search for NUT_WDT_START in the Configurator. Harald _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Watchdog AT91SAM7X> Eric Haver wrote: > > > Ola Juan,The SAM7X does not give you a second chance to program the > DOG, > > and NutOs "saves us" by disabling it in: crtst91sam7x256_rom.S around > line > > In 4.7.5 beta and the upcoming 4.8, which I'm preparing right now, this > is configurable. Search for NUT_WDT_START in the Configurator. > Is support for the SAM7X WDT built into these upcoming versions? I keep a patch laying around that adds SAM7X specific code to at91_wdt.c, watchdog.c, and watchdog.h. - Coleman _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: Watchdog AT91SAM7XIt works, Thank you so much Juan > Date: Sat, 7 Mar 2009 08:33:11 -0500 > From: havereric1@... > To: en-nut-discussion@... > Subject: Re: [En-Nut-Discussion] Watchdog AT91SAM7X > > On Sat, Mar 7, 2009 at 7:05 AM, Jason Bourne <jucanpo@...> wrote: > > > > > Hi All, > > > > > > > > I am implementing the Watchdog for the AT91SAM7X but it does not work. > > > > I do not know what am I doing wrong? > > > > > > > > Thank you > > > > > > > > Juan > > > > > Ola Juan,The SAM7X does not give you a second chance to program the DOG, > and NutOs "saves us" by disabling it in: crtst91sam7x256_rom.S around line > 175 > > ldr r1, =WDT_BASE > ldr r0, =WDT_WDDIS > str r0, [r1, #WDT_MR_OFF] > > Just comment that out and make sure to program the WatchDog within 16 > Seconds to the value you want. > long WDTime ; > if ((WDTime=NutWatchDogStart(10000l, 0)) == 0) > printf("Watchdog Problem\n"); > else > printf("Watchdog set at %ld Seconds\n",WDTime/1000); > > NutWatchDogEnable(); > > Then feed your dog regularly with: > > NutWatchDogRestart(); > > > *E > > > > > > _________________________________________________________________ > > Windows Live™ Contacts: Organize your contact list. > > > > http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 > > _______________________________________________ > > http://lists.egnite.de/mailman/listinfo/en-nut-discussion > > > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail®. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: BootloaderI will appriciate any help from you. I've written simple program that just jump to 4000 location. At this addres I placed program that blinks leds. It works, so I tries to place nutos under 4000 addres. But this time nutos won't start. I changed nutos ld file like this:
MEMORY { rom (rx) : org = 0x000004000, len = 240k ram (rw) : org = 0x00200000, len = 64k } Any ideas? Or maybe what needs to be done before jumping? how to perform a jump? What to change in nutos? |
| Free embeddable forum powered by Nabble | Forum Help |