EB006 V9 internal EEPROM programming error

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

EB006 V9 internal EEPROM programming error

Post by Crenwick »

Hello,

Does someone tested programming the internal EEPROM of PIC with the new EB006V9 board ?

Like I describe in this topic, I'm unable to do it because of error.

http://www.matrixmultimedia.com/mmforum ... 54&t=14886

But when I take the hex and write it with another programmer it's OK, so it seems to be a problem with EB006V9 / mloader ?

@Staff , Can we have some feedback about progress of Mloader/board ? Are you working on it ? It's now a long time I read news from Ben.

Regards,
Bernard

Flowcode 6 / EB006-V9

User avatar
DavidA
Matrix Staff
Posts: 1066
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by DavidA »

Hello,

I will look into the programming of the 18F4680 EEPROM into the v9 boards. Im not sure if we have one of those chips kicking around but i will check.

Ben is away for three weeks, hes been away a couple already he will be back some time next week i believe.

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

DavidA wrote:Hello,

I will look into the programming of the 18F4680 EEPROM into the v9 boards. Im not sure if we have one of those chips kicking around but i will check.

Ben is away for three weeks, hes been away a couple already he will be back some time next week i believe.
Hi,

I'm using a 16F887 not a 18F4680 :wink:
Bernard

Flowcode 6 / EB006-V9

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

Hello,

Do you have some news :wink:

What's the status about mloader and the EB006-V9 board ?

Regards,
Bernard

Flowcode 6 / EB006-V9

User avatar
Benj
Matrix Staff
Posts: 15014
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Benj »

Hello,

Seems to be working as expected for a 18F4680 device using the new "initial values" property of the EEPROM component to initialise the values.

I'll have a hunt around and see if I can find a 16F887 device to fully replicate your setup.

Edit: I dont have a 887 device to hand but I tried a 16F877A and this worked well. I'll see if I can get some ordered so we can do a proper test on this device.

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

Hi Ben,

I allways use the #pragma DATA _EEPROM, in the Supplementary Code block.

If you explain me where I can find the "new "initial values" property" then I can test it here.

Sorry, but I didn't find any documentation about this new feature :?

Regards,
Bernard

Flowcode 6 / EB006-V9

User avatar
Benj
Matrix Staff
Posts: 15014
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Benj »

Hello,

The new component basically does the same thing as using the #pragma but behind the scenes and for PIC, dsPIC and AVR. I think I only released the updated components for the VCs to play with so here is the current version if you want to have a go. This probably won't fix the programming problem your having but might provide a bit of a better simulation experience for you.
eeprom.fcpx
(18.07 KiB) Downloaded 154 times
I think we are planning another update release in a couple of weeks so all the documentation should be updated then to match the new changes. For now the hover over property tool tip should hopefully provide enough info to be useful.

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

Hello,

I just tested the component and it's easy to use but unfortunately gives the same error.

With PicKit its' fine :wink:

Regards,
Bernard

Flowcode 6 / EB006-V9

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

And do you have some news about mloader and the firmware of the EB006-V9 board ?
Bernard

Flowcode 6 / EB006-V9

User avatar
Benj
Matrix Staff
Posts: 15014
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Benj »

Hello Bernard,

Just tried a 16F887 device here with a v9 board and it seems to be programming the EEPROM correctly so this is strange. I'll repeat the test on some more boards just to make sure they all perform the same.

For interest here is the test program I'm using.
EE887Tst.fcfx
(5.63 KiB) Downloaded 147 times

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

Hello Ben,

Just tested your file, and here's the result
err.jpg
err.jpg (49.1 KiB) Viewed 7158 times
Always the same warning ! I now switched to a 18F4455 because I needed more place and my same code (with change of config) works.

For me I'm pretty sure it's a problem between mloader and my EB006 board, I flashed some weeks ago the PIC24EP512GU810 like you asked. Do you have some news/status about this ?

Regards,
Bernard

Flowcode 6 / EB006-V9

User avatar
Benj
Matrix Staff
Posts: 15014
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Benj »

Hello Bernard,

Yes we have done a few things,

The latest firmware is now on all of our boards we are sending out along with the new bootloader software to allow easy field reflashes if required. This simply disables the charge pump circuit which reduces the voltage sat across the C18 capacitor when not actively programming a chip.

Anyone experiencing problems with a board with older firmware can either return the board to us and we will reflash here or if they have a PICkit available then they can let us know and reflash themselves.

I'll let you know how I get on with testing more boards, could be this is a another tolerance issue like using the 16F1937 chip in the ZIF socket.

User avatar
Crenwick
Posts: 127
Joined: Sun Aug 07, 2011 1:40 pm
Location: Belgium
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by Crenwick »

Thanks Ben :wink:
Bernard

Flowcode 6 / EB006-V9

User avatar
petesmart
Valued Contributor
Valued Contributor
Posts: 395
Joined: Thu May 06, 2010 11:42 am
Location: Sydney, Australia
Contact:

Re: EB006 V9 internal EEPROM programming error

Post by petesmart »

Hi Ben,

I would be interested in the latest firmware.. I have a pickit 3 available...

Can you post the new firmware plus instructions...

Many thanks

Pete
sorry about that Chief!

Post Reply