RetroBSD

2.11BSD operating system for microcontrollers
It is currently Sun Sep 15, 2019 10:28 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Aug 14, 2015 3:35 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
Here is the datasheet link and errata file of the new PIC32MZxxxxEF..

http://ww1.microchip.com/downloads/en/D ... 01320B.pdf

The FPU is 64bit and 32bit !! (32x64bit registers, 7 stage pipeline, running at CPU clock).

PS: a first benchmark re FPU
http://www.microchip.com/forums/m882621.aspx

Let us wait on the A2 revision :)


Attachments:
80000663A(1).pdf [106.76 KiB]
Downloaded 350 times

_________________
Pukao Hats Cleaning Services Ltd.
Top
 Profile  
 
PostPosted: Mon Aug 24, 2015 5:55 pm 
Committer
User avatar

Joined: Thu Oct 11, 2012 8:45 am
Posts: 1801
Location: Room 217, Floor 8, Arm 8, Wheel S7, Mars Base Alpha 3
I have just submitted a PR for pic32prog so that it can support these new chips.

Oh, and I think they should rename "sleep" mode as "Medically Induced Coma" mode:

Quote:
10. The device may not exit Sleep mode.

_________________
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".


Top
 Profile  
 
PostPosted: Mon Aug 24, 2015 7:09 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
Quote:
Work around
Enable Flash in Sleep mode by clearing the Flash
Sleep Mode Configuration bit, FSLEEP, in the
DEVCFG0/ADEVCFG0 configuration register.

How you can enable Flash (while)in Sleep mode? Catch-22.. :roll:

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
PostPosted: Mon Aug 24, 2015 7:18 pm 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
majenko wrote:
I have just submitted a PR for pic32prog so that it can support these new chips.

Merged.
Thank you, Matt.


Top
 Profile  
 
PostPosted: Mon Aug 24, 2015 7:29 pm 
Committer
User avatar

Joined: Thu Oct 11, 2012 8:45 am
Posts: 1801
Location: Room 217, Floor 8, Arm 8, Wheel S7, Mars Base Alpha 3
Pito wrote:
Quote:
Work around
Enable Flash in Sleep mode by clearing the Flash
Sleep Mode Configuration bit, FSLEEP, in the
DEVCFG0/ADEVCFG0 configuration register.

How you can enable Flash (while)in Sleep mode? Catch-22.. :roll:


It means set it so that the flash continues to draw power while asleep. On the EF chips you can set it so that when it goes to sleep it removes all power from the flash to make it use less power. If you do that it won't wake up. So you have to clear the FSLEEP bit so the flash doesn't lose its power and the system can still wake up.

Code:
REGISTER 34-3: DEVCFG0/ADEVCFG0: DEVICE CONFIGURATION WORD 0 (CONTINUED)

bit 10 FSLEEP: Flash Sleep Mode bit
       1 = Flash is powered down when the device is in Sleep mode
       0 = Flash remains powered when the device is in Sleep mode


It's a bit like removing your brain when you go to bed - because you now have no brain you forget to wake up - so you have to leave your brain in when you go to bed.

_________________
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".


Top
 Profile  
 
PostPosted: Mon Aug 24, 2015 7:48 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
:lol: Yes, they forgot to implement a push button at the top of the chip package which powers on the flash memory when the chip wants to wake up ..

_________________
Pukao Hats Cleaning Services Ltd.


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

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