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.

Great slides. Thanks Fred..

Iron

Another great session. Thanks Fred.

Iron

I have not experimented with MPLAB-X.

Iron

Have not programmed for PIC, have not used PICBASIC PRO.

Iron

Downloading slide deck.

Iron

Getting caught up on archived classes. Accidently skipped over this session.

Iron

Hello from Beaverton, Oregon.

Iron

hello all from Edmonton, Alberta.

Iron

Good to see you port 'C' to PIC BASIC.  Would like to have a few slides on setting up modular files for various processors (as an approach, not particular details necessarily, but for a few examples) with guidelines and caveats.  This is not to create a universal / multi-platform program, but to introduce the concept of being able to set up modular header type files for configuring to particular devices / platforms where porting a relatively simple application like a bootloader may make sense ...

Slides are hard to read.  I appreciate the cute idea of the background(s) but the text is often washed out

Thanks anyway for archiving these presentations, good to review as time permits

good presentation - a little tough to read the ppt

Iron

I'm not familar with PIC basic 3 nor do I plan on using it 

Looking forward to another action packed presentation

Awesome presentation. Thanks

Iron

The .ZIP file URL is properly spelled (http://www.edtp.com/dsn/bootloader-code-designnews.zip) in the text but the actual embedded HTML target when clicked on is spelled /dns/ by mistake . So copy target URL text rather than clicking on hyperlink.

I can examine the two .PBP files, but the .ZIP file gives the 404 invalid URL target error. Zip file not home.

Thanks Fred, I've used MPLAB-X briefly but it's great that there is a Linux version.

Iron

This is the only link that works for me --> http://www.edtp.com/dsn/pbp-lcd-driver-app.pbp

Did everyone else find the links to work?

agreed about background issue, probably need to deem background sligtly :)

Iron

I have briefly used MPLAB X, but at the same time I had just bought a ICD3 and I was having some troubles. So I went back to MPLAB 8.x for now until I get the issue sorted out. But for the short time I used MPLAB X I liked what I saw, and I will be going back to it hopefully soon.

Great presentation as always, but the black text was very hard to read against the background.

@bitbanger55 Good luck and Godspeed!

Iron

See you all here tomorrow providing the Nor'Easter snow storm doesn't clobber us.

Thanks again to everyone that came to "see" Rich and me today. It's great to interact with you in the chat. 

With that, I think I've answered all of the questions.  So, I'm out.. Hasta Manana!

Blogger

Thank you Fred, I am learning a lot from you and from all participants. Thanks

Hey Fred!  Sorry, I missed the live stream, but checking out the archive now.  Thanks again!!!

Iron

It works:

http://www.edtp.com/dsn/pbp-lcd-driver.pbp

http://www.edtp.com/dsn/pbp-lcd-driver-app.pbp

http://www.edtp.com/dsn/bootloader-code-designnews.zip

Fred, the only link that works for me is the Bootloader C Source link

@CurtD:  http://www.edtp.com/dsn/pbp-lcd-driver.pbp

http://www.edtp.com/dsn/pbp-lcd-driver-app.pbp

 

Tested.. make sure you have dsn instead of dns.. ( TCP/IP on my brain..)

 

Blogger

@CurtD: Change dns to dsn in the links.

Iron

Hi Fred, I miss past two days of lectures and you may have already cover this. Is there a recommanded dev kit to test or play around? Thanks.

 

@THasham:  The Microchip Explorer boards are the most universal.  You can plug just about anything into them.  Microchip makes a bunch of pluggable PICtails that contain various peripherals. The micros are also pluggable.

Blogger

Curious - are you or anyone using MPLAB-X with PICkit3 on a Windows XP machine?  I could never get it to recognize my hardware.  I put MPLAB v8 back on and everything works.

@JayPaxman: I don't have any XP machines that are still living.  So, I have never tried it.

Blogger

Fred, the only link that works for me is the Bootloader C Source link

Iron

So Mr. Fred, as a Microchip 'design partner' are you involved with a new chip design?

will you be designing with FPGAs in the future?

 

@KaRobotics:  I've gone undercover a couple of times, but nothing going on right now.

I've done some FPGA work, but my customer base is primarily PIC micros.

Blogger

Hi Fred,  as usual another great presentation.

I have a question: are all variables global in PBP?  Seems that they are and that that could get really confusing.

It also looks like there are a lot of reservered variables that add to the complication.

 

What has been you experience with this?

 

@Jeff M:  They are all global.  I don't have a problem with that in that I arrange them in a logical order and give them very descriptive names.  I also don't "reuse" a variable for another purpose.  That keeps the code clean and the logic on track.

Blogger

Fred,

What do you think of the OLIMEX single board.  It was in a colum during this presentation from Digi-Key?

Have you used it.

 

@RMRSS:  Have not used that particular board.  However, their boards that I have used are top quality.

Blogger

Are there any known limitations with Pickit 2 and Pickit 3 for this project?

Can Pickit 2 be used instead of Pickit 3?

 

@Anatoliy1086:  According to the Microchip web site, PICkit2 does not support the PIC18F47J13.

Blogger

Is there any open source logic analyizer software for the PicKit 3?

 
@gordonmx:  Nope.  The PICkit3 is a programmer/debugger only.
Blogger

Have to leave.  Everybody have a great day.  Thanks Fred.

Iron

i also had isssues with the simulator in MPLAB IDE.

How is the simulator in PICbasic pro?

Is the transition from MPLAB IDE to PICBasic smooth?

 

@vlad:  I've never used the simulator.  However, I have had zero problems debugging with a PICkit3 and MPLAB/MPLABX.

Blogger

@JayPaxman:  Not sure.  But I had to run it anyway.  Maybe it set up the drivers the way they were supposed to be in the first place.

Iron

@JayPaxman   I  had some early problems with my PicKit3 and went back to using PicKit2.  When I instaled MPLAB-X I seem to remember the PicKit3 needed a firmware update and seemed to work after that.  I have not done too much with PICs since I went to MPLAB-X a couple of months ago.  All on an XP box.

Iron

dns should  be dsn in the links... getting old and senile

Blogger

Thanks a bushel Fred :)

Iron

Thank you all..have a good day!

Iron

the dns should be dns in the download links

Blogger

Dear Fred, would you please send us the link to your software for this project so we may try it

 @KaRobotics: 
 
 
PBP LCD Driver - http://www.edtp.com/dns/pbp-lcd-driver.pbp
 
 
Blogger

I'm not sure how to use Driver Switcher.  It shows

RealICE: Setup for X

ICD3: No Change

PM3: No Change

PIC32 SK: No Change

but nothing anywhere about PICkit3.   When I select any of those, it changes the driver names and locations.   What is it supposed to do for me to help this problem?

Iron

thank you for a good info

Iron

@JayPaxman: The reason I ask that is because mine wouldn't recognize my ICD3 on Window's 7 and that's what Microchip told me to do.  It works now.

Iron

Fred, what would make someone use picbasic insteado of C?

@caa028:  There's history behind PBP.  In the  beginning, there were no C compilers.  Every early personal computer had a flavor of BASIC  built into it.  So, early nerds used BASIC and it worked for them. PBP is a natural progression for some folks.  C isn't for everyone. Why go off and spend time on the C learning curve when you can simply code in a goto or a gosub?

Blogger

Thanks Fred.. Any recommendation on the board?

Iron

Hi Fred, I miss past two days of lectures and you may have already cover this. Is there a recommanded dev kit to test or play around? Thanks.

 

Iron

Where can I get the dev kit? and how much it cost?

 
@THasham:  If you're referring to the hardware presented in this class, it's moonshine hardware that I distilled in my shop.  You can get a multitude of similar dev kits from Microchip, MELABS and CCS.
Blogger

thanks Fred, good session

Iron

What does PicBasic cost and who sells it?

@bitbanger55:  PBP is sold by microEngineering Labs.. It's about $250 for the Pro edition.

www.melabs.com

Blogger

@JayPaxman: Did you run MPLAB Driver Switcher?

Iron

As I am new to Microchip PIC...Could you please provied website which helps to learn PIC?

@cmpatel:  The best way to learn PIC is do PIC.  I suggest getting your hands on one of the many PIC books out there and building up the projects contained within them.  Chuck Hellebuyck has some good stuff. You will also find some helpful learning projects in the magazines that support PIC.  Try searchin on "Fred Eady" and you'll get some references to stuff I have done.

Blogger

Curious - are you or anyone using MPLAB-X with PICkit3 on a Windows XP machine?  I could never get it to recognize my hardware.  I put MPLAB v8 back on and everything works.

Iron

another great one - thanks Fred

Iron

Fred, looking at your code I get the impression that in PicBasic all variables are global and subroutines don't take parameters.  That seems like it would make anything but a trivial program more difficult to debug.

@hwhankins: That's correct and that's BASIC.  Believe it or not, it's not that bad. The PBP Ethernet driver port went smoothly and I was able to use MPLAB and a hockey puck 2 to debug.

Blogger

@anthonyt:  I can answer that one.  Yes, I'm using it on a PIC32MX695.

Iron

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

Iron

So Mr. Fred, as a Microchip 'design partner' are you involved with a new chip design?

will you be designing with FPGAs in the future?

Iron

Fred, are reason for using PICBasic  for it tight support of Micro OS?

@kostya2021: Not really.  I though it would be good to introduce the class to an alternative language that happens to be a time-proven tool.

Blogger

Hi Fred,  as usual another great presentation. 

I have a question: are all variables global in PBP?  Seems that they are and that that could get really confusing.

It also looks like there are a lot of reservered variables that add to the complication.

 

What has been you experience with this?

 

Iron

For a class about bootloaders there has been little to no information about actually creating a bootloader. More time spent explaining basic hardware functionality such as SPI. That belongs in a different class.

@ftfSteve: I'm open to suggestions that improve the quality of the class.  What do you suggest?

Blogger

FYI, updating to LibreOffice 4.0.0.3 fixed the ppt viewing issue for that app.

Iron

Fred, other than for people who know basic and don't know C why would you want to use basic instead of C?

@hwhankins: I actually have customers that use PBP exclusively in their design efforts. I think it's what you get exposed to first and what worked for you first. Also, PBP has a bunch of built-in functions that work without support coding overhead.

Blogger

is picbasic more robust (ie generate smaller code) than c compilers?

if not buy the pro version of hi-tec the other compiler modes can generate fairly large code

 

@miket:  PBP is robust to the point that I ported a C-based Ethernet driver to PBP and it worked just as well as the original C version.  You can check it out on the MELABS forum or chase down the back issue of Nuts and Volts that featured the project.

Blogger

What is LCD_SHDN  =  1 does?

@cmpatel:  Writing a 1 to the LCD_SHDN pin enables the MCP1804 LDO voltage regulator, which supplies 3.0 volts to the LCD backlight.

Blogger

Fred,

What do you think of the OLIMEX single board.  It was in a colum during this presentation from Digi-Key?

Have you used it.

Thanks again,

MikeR

Iron

Are there any known limitations with Pickit 2 and Pickit 3 for this project?

Can Pickit 2 be used instead of Pickit 3?

Is there any open source logic analyizer software for the PicKit 3?

Iron

On the down side though, MPLAB X tends to hickup frequently, sometimes requiring exiting and re-entering the IDE

 

Silver

i also had isssues with the simulator in MPLAB IDE.

How is the simulator in PICbasic pro?

Is the transition from MPLAB IDE to PICBasic smooth?

 

Iron

Thanks Fred & Rich for excellent presentations

Iron

Does the dev kit comes with the software or program?

Iron

Currently using MPLAB X and finding quite a few new things I like, especially around writing libraries...we use multiple different PIC32 processors and the ability to build library projects with different configurations is quite smooth.

 

Silver

Dear Fred, would you please send us the link to your software for this project so we may try it

Iron
Not familiar with MPLAB
Iron

Fred,

I just got mplab X working under Linux and what I have seen so far I like.  I was aware of Pic BASIC but have not had chance to use yet.  Glad I came to your lecture... Thanks!

Iron

Fred, what would make someone use picbasic insteado of C?

Iron

Where can I get the dev kit? and how much it cost?

Iron

i am using MPLAB IDE for past 3 years

Iron

Thank you Design News and Digikey

Iron
thank you Fred. Nice lection.
Iron

still use mplab 8.xx

Iron

Great Presentation, thanks Fred

Iron

What does PicBasic cost and who sells it?

As I am new to Microchip PIC...Could you please provied website which helps to learn PIC?

Iron

Switched over to MPLAB-X a couple of months ago. Used earlier versions of MPLAB for many years.

Iron

Thanx Fred! Good class.

Iron

Not Using MPLAB.

Thanks Fred.

Iron

Thanks Fred and Rich!

 

Iron

Ooops late today....will catch up in archive.  Thank you.

Iron

Use MPLAB, but not Picbasic

Iron

I've used MPLAB X.  It's nice having tools that run native on a Mac!

Thank you Fred, Rich and Digikey.

Iron

Have not used MPlab yet.

Iron

Fred, Thank you for today's lecture

Iron

Excellent presentation

 

Iron

Fred, thank you!   You are a lot of fun to listen to!!   :)

Fred, looking at your code I get the impression that in PicBasic all variables are global and subroutines don't take parameters.  That seems like it would make anything but a trivial program more difficult to debug.

Iron

I am using MPLAB for a long time

No I was not aware. Have not used MPLAB X, will try soon

 

Iron

I'm using MPLABX and have become rather comfortable with it.  I'm not familiar with the hardware offered.

Iron

Not using MPLAB-X (now using Cortex-M)

Iron

I've only used C and assembly with PIC chips.  The PIC BASIC is easy to follow and having an example of the bootloader working with and application is useful.

Fred, are reason for using PICBasic for it tight support of Micro OS?
Iron

Not familiar with PicBasic.

Iron

For a class about bootloaders there has been little to no information about actually creating a bootloader. More time spent explaining basic hardware functionality such as SPI. That belongs in a different class.

Iron

I am interested in C program too

 

Iron

Good evening from Iasi, Romania

Iron

Good morning all from CA

Iron

Fred, other than for people who know basic and don't know C why would you want to use basic instead of C?

Iron

is picbasic more robust (ie generate smaller code) than c compilers?

if not buy the pro version of hi-tec the other compiler modes can generate fairly large code

Iron

What is LCD_SHDN  =  1 does?

 

Iron
heared about PICBasicPro, butnot used - haven't crossplatform analogue..
Iron

I started way back in 1997 with PICstart

Iron

Use PICBasic Pro and PICs.

Iron

Should have stayed consistent with C programming language. Should not need to waste time explaining the conversion to Basic programming language

Iron

This is hopeless. I get "blog talk radio" followed by about one second of audio and then the audio dies. Can't reload and fix it. It seems to work on archieved lectures, just not live ones. I'll give up and catch this on the archieve when it becomes available.

Iron

No experience wih pic

Iron

No experience with PICBASIC PRO, but heard how powerful/useful it is

Iron

Microcode Engineering Labs ?

Iron

sounds like an older programming technique

 

Iron

No experiance with pic basic pro

Iron

Not Familiar with PICBASIC PRO.

Iron

never heard of it.. :)

Iron

Same here - audio is loud and clear now. Had to reload the page (player was unresponsive).

Iron

Played some - no expert!

 

Iron

No experience with picbasic pro3.0

Been a while.  Back when we UV erased parts !

 

Iron

Written a lot of Pic code, never used PicBasic pro

Iron

PICBASIC: no, no

I use PIC's c compilers

Iron

I am lesrning about it

 

Have not used PICBasic, only assembly and C

Iron

Never used PICBASIC (any flavor)

Iron

Not familiar with PICBASIC PRO

Iron

Audio player loaded, but had to refresh page to get audio player to work

Iron

Audio and slides are fine

Iron

hello from Westchester County New York

Iron

Here we go audio is up!!

Iron

I'm downloading LibreOffice 4.0.0 now to see if that works.

Iron

FYE, I use LibreOffice 3.6 Impress and the slides are fine

 

Silver

Hi from Torrrance, CA

 

Iron

Hello from Albuquerque.

Iron

I have powerpoint 2007 and the slides look ok, so must be something with the viewer.

Iron

I have Open Office and with that it is hard to see PPT.

After installing PowerPoint Viewer 2010 I got beautifull view, it took me 5 min to download and inatall PPV2010.

Thank you => drw36

Hi from sunny Casper, WY

 

Iron

I have office 2003 and some slides are almost unreable

Iron

Thanks for posting information about the slides.  They are unreadable without that information.

Iron

Hello from Guadalajara, México

Hello from sunny (today) Rockwell Automation in Mayfield Hts, Ohio

Hello again from sunny and warm Minnesota...

My open office still looks the same, great!

Iron

eight minutes and counting

Blogger

@drw36: Thanks, I will check it out. I stuck with 2007, since I have Word, Excel, & Outlook 2007. I mainly wanted to warn others to check it out before the presentation, rather than during Fred's avalanche of information. ;-)

Iron

Hello from Greensboro, NC

Iron

@LeoSieben: I viewed with LibreOffice 3.5.4.2 and it has the issue. There is an update I need to download which may resolve the problem for that app.

Iron

Ah, there we go. Removing the background pictures makes them A-OK. 

PPT looks good in Open Office

Iron

@EbB_Vt: PowerPoint Viewer 2010 from MS will likely resolve your issue. It's still a free download.

Iron

Yep, pretty much unreadable on Keynote also. 

Oh, well, I'll muddle through.

@kentJ  A little known thing about DigiKey is that if you print out the order form, include a check, and mail it, they pick up the shipping charges if it is over $25. Great if you are not in a big hurry. I live in Wisconsin and I can usually mail an order on Monday and have the order by Friday. YMMV

Iron

and Mr. Fred's powerpoints are getting larger and larger ;)))

Iron

@drw36: It must be an issue with my PowerPoint Viewer 2007. I have just the viewer, not full PowerPoint.

Iron

Hi Folks. You know the drill. Download the slides and fasten your seatbelts.

Blogger

yes time flies my friend.... indeed

Iron

Hello from Milford, CT

 

Iron

If these slide presentations were printed to PDF there wouldn't be any viewer issues. Outputting to PDF or using a BullZip PDF printer driver or similar makes this easy. Then viewing would be open.

@EbB_VT: Oh, I don't have that issue viewing with PowerPoint. But I just viewed it with LibreOffice and I see what you are talking about. LibreOffice doesn't implement any of the contrast differences. All background images are full on and interfere with the slide text.

@Fred Eady: It appears that the background feature you've used in todays deck is not compatible with non MS PowerPoint viewers.

Iron

Hello from Texas City, Texas

Iron

Good afternoon from St. Louis, MO.

Iron

@drw36: When I view slide 4, the right side of the first two lines ("Inform the  ...", "Feed the ...") are unreadable against the black of the background image (lower part of the LCD display).

Iron

Hello, Huntsville Al.

Iron

@EbB_VT: It appears that the contrast is intentional. The dark line(s) in the list on those slides is to highlight the topic about to be covered.

Iron

Good afternoon from Raleigh

Iron

If you don't get enough snow in VT we'll truck some more up to you from Boston...latest computer hr to hr projection says 34.5 inches by 530AM Sunday in town,currently bare ground,LOL

Iron

Hello from Winston-Salem, NC! 

 

Iron

Hello from Manitowoc, WI.

Iron

@jcbacas: Sorry, there is no alternate PPT.

Blogger

@EdB_Vt - Sounds like fun - Enjoy!

Fred, where is the alternate to the PPT ? (not really readable)

Iron

@LevitonDave - I'm looking forward to some snow in Vermont so I can get in some snowshoeing this weekend.

Iron

Hi everyone, good morning.

Iron

Hi from Portlandia - Dry, bright "rain" today so not sure who we offended to get the nice weather. Need to figure it out so we can do it again. :0

Sorry for the NE and the coming onslot - good luck and keep warm.

Good Morning, everyone

Iron

Good Morning from Boston; getting ready for the Blizzard and checking back up systems power to be ready! 

Iron

Good Morning from Tennessee

Iron

Morning from Portland Oregon

Iron

Good morning from SoCAL

Iron

Howdy! Just posted the bootloader source code. The code in the zip file is particular to this project. So, you will want to modify it to fit  your bootloader project.  The code works with the latest version of the Microchip Application Libraries.  I used MPLABX. a PICkit3 and the latest version of the C18 C compiler.

http://www.edtp.com/dsn/bootloader-code-designnews.zip

See y'all at 2PM..

Blogger

Good Morning from Sunny San Jose, CA.

It's 39°F and a High of 55°F.

Iron

A Heads-Up to all: I just looked at today's slide deck "CEC-day4-bootloaderv2.ppt".Uing PowerPoint Viewer 2007, there is not much contrast between the slide's text and background. Since I always make a PDF and annotate during the presentation, I grabbed the text from the offending slides and inserted annotations with white backgrounds. Take the time to check it out and decide what works for you.

Iron

Yes, Greetings (It sure is shorter than "Good (period of time of day)" that I usually put)

Iron

Greetings (time zone neutral)

Iron

Good Morning to all!

Iron

Digikey is another great source except you have to pay shipping, handling, and tax. but their search tool is great for selecting what you want in a processor.

Iron

@rruther2:  One nice thing about Microchip is you can buy one device at a time.  Also you can get some free samples.  I just got a sample of the 25LC1024 EEPROM.  I will, however, be including it in production products.

Iron

@rruther2:  Search for the MCU part number on the Microchip site and you'll find links to various demo board products for sale.

Good Morning from Mobile, AL

I studied the slides and need a device.

How to procure one. I tried the edtp.com

and my money is no good.? Rod. R.

Iron


Partner Zone
Latest Analysis
The biggest robot swarm to date is made of 1,000 Kilobots, which can follow simple rules to autonomously assemble into predetermined shapes. Hardware and software are open-source.
The Smart Emergency Response System capitalizes on the latest advancements in cyber-physical systems to connect autonomous aircraft and ground vehicles, rescue dogs, robots, and a high-performance computing mission control center into a realistic vision.
Tolomatic ERD actuator provides high-tolerance, high-force capabilities at a low cost to innovative medical therapy machine.
The diesel engine, long popular on European roads, is now piquing the interest of American automakers.
A London-based company has added some sweetness to the versatility of the 3D printing market with a printer designed solely to print candy and confections.
More:Blogs|News
Design News Webinar Series
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
7/17/2014 11:00 a.m. California / 2:00 p.m. New York
6/25/2014 11:00 a.m. California / 2:00 p.m. New York
5/13/2014 10:00 a.m. California / 1:00 p.m. New York / 6:00 p.m. London
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Sep 8 - 12, Get Ready for the New Internet: IPv6
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: September 30 - October 2
Sponsored by Altera
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