RetroBSD

2.11BSD operating system for microcontrollers
It is currently Wed Sep 20, 2017 9:27 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Aug 22, 2016 10:54 pm 
User avatar

Joined: Mon Aug 22, 2016 10:37 pm
Posts: 1
Hey folks!

Just wanted to let everyone know that I was able to bring BSDLite4.4 up on my PIC32MZ EC + MEB II I purchased at Microchip Masters this year, and I was able to do it using the MPLAB X IDE v3.35 tool!! (I don't have a PicKit2 or 3.)

I did this by creating a Pre-built Image project, and pointed to the vmunix.hex file.

First issue I ran into was that the Configuration registers weren't programmed correctly. I edited the vmunix.hex file and noticed that the register record said:

:10FFC000FFFFFF861AB1F83F81FC0000DBFFFF7FD7

Which according to https://github.com/sergev/LiteBSD/wiki/ ... II%20board , this is not correct.

In the MPLAB X tool, I can display the configuration registers with "Window -> PIC Memory Views -> Configuration Bits. I edited the record until I was able to get the Config registers to show correctly.

:10FFC000FFFFFFBF1AB1F9FF3938747FF7CFFFFF8A

That did it! I also purchased an MEB II UART to USB Adapter, pulling all the jumpers and wiring the RXD and TXD pins from the Jumpers to pins 4 and 6 on the PicTail (with blue wires around the posts.

BSD kernel came up and boot messages started pouring out, but it was having trouble reading my uSD card (1GB.) I ended up grabbing a 512MB uSD card and programming the sdimage to it, and the system completely came up!!

I'm an old NetBSDer from 1995/6, and had been running NetBSD on an x86 system up until about 10 years ago, when it seemed Linux was taking over the planet. I was excited to see that not only was that not the case, but you have TWO BSD ports running on a PIC32MX and a PIC32MZ! Wonderful work!!

I want to see how these platforms work in an IOT application environment. I will keep you posted if anyone is interested!

Gerry Simmons


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission