HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
You must login to participate in this chat. Please login.

Yes, to answer question at 30:30 knowledge of Microchip library was helpful.

Gold

Thank you for archiveing! Great lecture and presentation. Thanks Fred

Iron

Another great presentation. Thanks Fred.

Iron

Have never programmed PIC, so not familiar with the MAL.
ARM processors are of particular interest to me.

Iron

Fred, you're back!

 

Iron

Yes, hearing you, not hearing Fred.

Iron

Downloading slide deck.

Iron

Catching up on some of the archived classes.

Iron

Hello from Beaverton, Oregon

Iron

following 78RPM around again today ctaching up on the sessions.

Iron

hello from Edmonton, Alberta

Iron

Would like to see an early message to the user such as:

     INSERT

  MicroSD CARD

 

Thanks for archiving these classes ...

This class would make a nice app note for Microchip ... since you teach for them, perhaps they will support you in that effort. 

Lost audio around minute 19

 

Can this approach to coding a bootloader be used with other PIC processors that are self-programming FLASH capable? Thanks.

 

Iron

Fred, thank you for presentation, all understandable clearly.

Iron

Thanks for another great pressentation.

Iron

Great presentations Fred. I am not able to listen live because my great IT support said it would take 3 - 4 days from them to give me special rights for streaming audio, Lol.. So I come home and listen after work. This is very interesting stuff, even though I don't have an application right now, I might down the road and this will be helpful. Looking forward to the last two days. Thanks again, Steve.

Hello, I'm late today. This is nice when class available in archive.
Iron

Thank you Fred for a great session

Iron

Thank you Fred, very informative session

Again, thanks to everyone for joining our discussion today. And, thanks for the feedback on what you're currently working on and what you would like to see in this classroom.

Be sure to get your copy of the Bootloader schematic from http://www.edtp.com/dsn/microSD-Bootloader.pdf

 

I'm out.. "See" you tomorrow!

Blogger

well if looking for a compact type MCU/SD storage solution then PJRC has an interesting solution:

Now they offer "Teensy3.0" with 32 bit ARM controller. Two years ago I purchased 'Teensy 2.0' from them

(Atmel ATMEGA32U4 based 8 bit MCU) along with SD adaptor just like this one in the pic: 

http://www.pjrc.com/store/sd_adaptor.html

 

Iron

I would say another "Con" is an opening for unauthorized modification. I have not looked ahead to see if you will address validation of the HEX file for security.

Iron

Got interruptd right at the end - use NXP Cortex M0/3 offerings. Fortunately many of the principles apply. Unfortunately we can't afford the board space to put an SD card on them (nor a display) so some of the princilpes will have to be modified. Think wall light switch with motion detector not a candidate for fancy interfaces.

What are pros and cons of building bootloder using Mircontroller...

@cmpatel: Pros - Easy version upgrades * Easy bug fixes * Easy distribution to multiple sites

Cons - Price of product

Blogger

Something needs to be done about the flaky audio. Extremly disruptive

Iron

Good session Fred, Thanks

Iron

Great lecture, Fred!  Have you ever worked with the Freescale tower system?  Some of those boards include a resident SD card slot.  I'm also trying to learn about the TI MSP430 system.

@ctrlfreek: No I haven't. Sounds like it might be interesting to look at.

Blogger

Freescale ARM Cortex would be great.

Iron

Yes, the MAL have been very helpful!

Is there a way to fail over to another hex file or another image (perhaps the last known good image) if BootApplication() fails?

 

@N3WWN: Yes..It's a simple matter of programming :-) For simplicity, I loaded a single .hex file to the microSD.  You can have multiple files on the microSD all with differing images.

Instead of just collecting the one expected file, you could scan for them all and select the one you wish to load. If BootApplication() failed, you have had a catastrophic error occur and the NUKE button (ABORT) would have to be brought into play.

Blogger

Well, Fred it will be interesting to see a presentation / project of a 32 bit MCU of any make with touch screen and SD bootloader card. State machine menu driven file system to bootload any of the many programs stored at the SD card. Thanks a bushel :)

Iron

where can we find this files?.h and .c files?

@cmpatel: Most of them are contained in the Microchip Application Libraries.  I'll supply the homegrown ones as a download. Download the MAL from the Microchip site.

Blogger

Where can I find what TRISxxxx and LATxxxx are doing?  I'm using them but have no idea what I'm doing.

@Kentj: Basically, TRIS determines if the I/O pin is an input or output. A 1 means the port pin is an input. A zero makes the port pin an output.

LAT is short for LATCH.  LAT is always associated with an output pin. For instance, you write to LATDbits.LATD0 and read from PORTDbits.RD5. You set LATDbit.LATD0 to an output by writing a zero to TRISDbits.TRISD0. Conversely, you assign RD5 as an input by writing a 1 to TRISDbits.TRISD5.

Blogger

Great lecture, Fred!  Have you ever worked with the Freescale tower system?  Some of those boards include a resident SD card slot.  I'm also trying to learn about the TI MSP430 system.

Iron

TI MSP and PSoC will be helpful

Iron

Thanks Fred, another great day.

Iron

Very Helpful; Thanks Very Much Fred and rich

Iron

Currently using bootloader for PIC24FJ and EP processors with a USB memory stick.

Iron

Thank you for well spent day.

Iron

I've done bootloaders for controllers embedded in a larger system via I2C from the main processor.  That might be a useful class, too.

Thanks Fred and Rich for a great lecture.

Iron

We use Freescale Cortex-M, since heavy use of libraries, I suspect there are differences between the different Cortex-M chip vendors.

Iron

Great, hope the audio glitch didn't / doesn't effect the archive.

Energy Micro EM32 ans PIC32 with SD-Card

Iron

Thanks, another great presentation

Iron

Thank you for the presentation

Iron

Thanks Fred and Rich for a great job

Iron

helpful, Freescale

 

Iron

Working on a SD boot loader for Renesas R8C right now. 

Iron

Thank You Fred and Rich.

Iron

Thanks Fred. Great class. It was helpfull.

Iron

I'm using PIC32MX695F512 with USB bootloader with optional Ethernet bootloader

Iron

Thanks again Fred and Rich!  Outstanding!

Iron

would like an 8051 bootloader equivalent class :)

Iron

Great job Fred, you need to run more of these classrooms.

Yes, the MAL have been very helpful!

Is there a way to fail over to another hex file or another image (perhaps the last known good image) if BootApplication() fails?

Iron

Yes helpful.  Renesas, TI MSP & Freescale

Iron

How about an AVR, but with a USB Memory Stick?

 

Iron

Awesome another great presentation, Thank you Fred!

Thank you also Rich!

Iron

Another great session, Fred.  Thanks!

Iron

This has been very helpful, thanks!

Iron

@BruceMcLaren - good luck... :)

Iron

@caa028: Could I claim that was Mega seconds instead of milli seconds? ;-)

@caa028, yep, just no close bracket for the while loop

Iron

@caa028: Good point. I forgot that.

bottom of slide 24 "j--"

Iron

Ahhh, continued!  LOL

Iron

don't see J decrementing

Iron

@BruceMcLaren:

DelayMs(1000);

 

Iron

@richwilliams: he didn't say what units he was counting down in. Maybe it was minutes? :-)

sorry about that. we're back

Blogger

audio nis back (and the chat window is overloaded)

Iron

Maybe it's a long countdown.  The last thing I heard was "9" ;)

Refresh got an error. I now have Rich's audio.

I have had audio drop twice so far (oops third time).  I comes back about 1 minute later at the point it dropped.

Iron

I can hear Rich but not Fred.

Iron

I can hear you now

 

Iron

Have Rich but no Fred.

Iron

@richnass I hear you but not Fred

Iron

Hearing you, not hearing Fred

 

Gold

rich ihear you  after refresh.

Iron

I thought, the audio was gone on my end...

Iron

we hear you but not Fred

Iron

yes I can hear you but not Fred

ahhh, yep  lost audio here too

 

Iron

We hear you, but not Fred

Iron

almost t-shirt weather here in South Dakota too!

 

Iron

good after noon , t-shirt weather hear in Central Alabama.

Iron

@caa028:  Place holder.  Enter your file's name there.

Iron

xxxxxxxx is just a placeholder or an actual name?

Iron

@Kentj: You find the documentation on Microchip site on the uC family page the uC is part of.

Iron

where can we find this files?.h and .c files?

Iron

What are pros and cons of building bootloder using Mircontroller...

Iron

Fred and Rich, if you ever take your show on the road and make it to Southwest Missouri, please reserve me a front row seat!!!!   I'm lovin' this!!   :)

Thanks MayanBlood. It's nice to be loved.

Blogger

Hear you 5 by 5, Hi Rich and Fred!

Iron

Greetings from Midland TX

Iron

audio stuttered a bit, but now seems ok

Iron

@jfincher:  God dag!

Iron

Audio can be download with real player.

 

Iron

@cghaba: Where do I find that documentation?

Iron

Good day, everyone!

 

Iron

@ Kentj: in uC I/O block documentation. TRIS establishes the direction of the port (input or output), LAT is used for reading the port

Iron

Hello from Durham, NC

Iron

Hey,  Back for day 3

Iron

Good afternoon folks.

 

Iron

Hi, everyone.  Is the audio up yet?

Iron

Hello from Albuquerque.  Anyone else from New Mexico here?

Iron

Good evening from Iasi, Romania

Iron

Good morning from Los Angeles California.

Iron

Good afternoon from St. Louis, MO

Iron

Hello from Huntsville, Al

Iron

Where can I find what TRISxxxx and LATxxxx are doing?  I'm using them but have no idea what I'm doing.

Iron

Hello from Waterloo, ON, Canada

Iron

@hwhankins: So it is written, so shall it be done..

Blogger

Fred, since you answer all the questions together at the end of the lecture it's sometimes hard to figure out what question goes with the answer.  It might be easier if you cut/pasted the question into the answer.

Iron

Too bad... thanks anyway, richnass.

Iron

Day 3 coming up. You know the drill. Download the slides fro the link above.

Blogger

Cuba? Cool. Sorry, but audio can't be downloaded. Only streamed from the site.

Blogger

Hello from Cuba!! Is there any link for downloading the audio files of these lessons??

Iron

Good morning! from Richmond BC, Canada

Iron

Good morning from Huntington Beach, CA

Iron

Good Morning from Torrance, CA

Iron

Good Morning from Mobile, AL

@bartholemew: Just posted the schematic

http://www.edtp.com/dsn/microSD-Bootloader.pdf

Will post the code later today..

 

Blogger

Looking forward to this day to see what firmware tricks might be employeed :)

So fast... already Day 3!

Iron

www.ghosttowns.com/states/hi/laupahoehoe.html

Iron

Raining and 67F in Laupahoehoe.

Iron

Good morning from Richmond, TX.  Liquid sunshine and 66.

Iron

Good Morming from Vancouver

Iron

Good morning from Scottsdale

Iron

@rhall007 - where in Milwaukee? (born and raised in Waukesha)

Good morning from Portlandia (somewhere near Portland OR)

Good Morning from San Jose, CA.

Sunny and it's 40°F with a High of 59°F

Iron

Greetings from Verrmont

Iron

Good morning from Portland Oregon

Iron

Good Morning from Tennessee.

Iron

Good Morning to all!

Iron

Good morning from Milwaukee!

Iron

I still don't see a link posted to the EDTP website for the source code & schematics - has this been overlooked?

Bitbanger55, you seem to be one window ahead of me!  LOL

Iron

Morning form Upstate, snowy New York.



Partner Zone
Latest Analysis
It's been two years since the Mac Mini's last appearance on iFixit's teardown table, but a newly revised version joins Apple's lineup this week.
More often than not, with the purchase of a sports car comes the sacrifice of any sort of utility. In other words, you can forget about a large trunk, extra seats for the kids, and more importantly driving in snowy (or inclement) weather. But what if there was a vehicle that offered the best of both worlds; great handling and practicality?
Kevin Gautier of Formlabs describes the making of a carbon fiber mold for an intake manifold, using a $3,300 3D printer, during Medical Design & Manufacturing Midwest.
Science fiction author Isaac Asimov may have the best rules for effective brainstorming and creativity. His never-before-published essay, "On Creativity," recently made it to the Web pages of MIT Technology Review.
Much has been made over the potentially dangerous flammability of lithium-ion batteries after major companies like Boeing, Sony, and Tesla have grappled with well-publicized battery fires. Researchers at Stanford University may have come up with a solution to this problem with a smart sensor for lithium-ion batteries that provides a warning if the battery is about to overheat or catch fire.
More:Blogs|News
Design News Webinar Series
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
9/25/2014 11:00 a.m. California / 2:00 p.m. New York
9/10/2014 11:00 a.m. California / 2:00 p.m. New York
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 20 - 24, How to Design & Build an Embedded Web Server: An Embedded TCP/IP Tutorial
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: 10/28-10/30 11:00 AM
Sponsored by Stratasys
Next Class: 10/28-10/30 2:00 PM
Sponsored by Gates Corporation
Next Class: 11/11-11/13 2:00 PM
Sponsored by Littelfuse
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service