DSPic 30F3012 and EB-063-00-1

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello

Sean wrote: " we have access to are the dsPIC 30F5013, 30F4013, 30F3012"

The problem i have also with these chip 30F3012 .
To day i now , code stops after rf-init_macro in my real hardware.
after i delete the init-macro , led is blinking on hardware.

In simulation , inside flowcode , led is blinking with the RF-init_macro.

Please help.

Regards wolfgang

addition :
There are direct connect over jumper B to Max 3002.
I control these by a Ohm-meter.

Regards Wolfgang
Attachments
connected lines.jpg
(111.59 KiB) Downloaded 2084 times
telfon_sender.fcf_pic16
(6.5 KiB) Downloaded 260 times
Last edited by saschech@gmx.de on Thu Mar 17, 2011 12:14 pm, edited 1 time in total.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by Benj »

Hi Wolfgang,

That's an odd one. I have been through the code and there are no blocking calls that could cause the device to lock up as part of the init routine. I will look into this for you and see if I can work out what is going wrong. Please could you describe which port you have the EB063 connected to and what jumper settings you are using.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Benj

I do not work with the EB-006.

Orginal i take a 30F6012A connect to port B_H_o to B_H_4.

For test with the same chip i use in the moment the 30F3012 because
sean say's you can test also with these.( that we have access to are the dsPIC 30F5013, 30F4013, 30F3012)

The LED is connect to D_L_0
The EB-063-00-1 is connect B_L_0 to B_L_4 show pin.gif.
On the back-side i show EB_063-20-1?
Attachments
pin.gif
(67.49 KiB) Downloaded 2110 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Benj

to day i put in : connected lines.jpg
so i hope,you have enough information to
help me.I am under time-pressure with the project .

Regards Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by Benj »

Hi Wolfgang,

Right I have replicated your setup using a EB063 on PortBL and using a 30F2011 device which is essentially the same as the 30F3012 but with less memory.

The LED is always flashing for me so there must be something wrong.

Here is my version of the component C code just in case you are using an out of date version. Simply copy the file into your "Flowcode PIC24&dsPIC V4\Components" directory and then restart Flowcode.

Let me know how you get on, if your still having problems then please could you send us your flowcode file and the generated C file.
Attachments
PIC16BIT_RF.c
(20.48 KiB) Downloaded 255 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Benj

I have also a 30F2011.......
after change the .c file the led is blinking
I test to morrow complete projekt.

Regards Wolfgang
Attachments
telfon_sender.fcf_pic16
(7.5 KiB) Downloaded 239 times
telfon_sender.c
(18.75 KiB) Downloaded 258 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Benj

Unfortunately , if i switch of the powerline and connect again,
the pic do not start .
I want finish the projekt with a ds-pick and the eb-063 !!!!!

I cannot do these without a supportive help for the RF-macro....

Regard wolfgang
Attachments
Unbenannt 2.jpg
(137.32 KiB) Downloaded 2035 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello

Can nobody help me?
Attachments
tel-pro.gif
(139.02 KiB) Downloaded 1997 times

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by Sean »

Hello Wolfgang,

I have tested your program, but have not been able to recreate the condition that prevents the LED from flashing (using the EB064 multiprogrammer and a dsPIC30F2011).

Looking through the initialization macro code, with the software SPI option selected, there are no commands that cause the program to wait for any specific conditions (only a few short delays and a predictable FOR loop).

We are now looking into some issues with the code for the R.F. component, particuarly with the FSEL option selected. An update will be posted as soon as it is available.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Sean

Do you have any news?
I think if you no have a little answer for the problem after one week,it is a bigger one;
to fix the rf-macro for a correct work.
I am a little bit more in a state of confusion to my telf. projekt .............

Regards Wolfgang

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by Sean »

Hello Wolfgang,

We think we have found the source of the problems. Rebuild and test are planned for this weekend

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Sean

What is the result of the weekend
with look of the RF-macro?

Regards Wolfgang

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by Sean »

The code is working again.

It will take a couple of days to get it into a releasable state.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by saschech@gmx.de »

Hello Sean

Any news?
Please you can tell me the definition "couple of days "...

Regards Wolfgang

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: DSPic 30F3012 and EB-063-00-1

Post by Steve »

Hello Wolfgang,

I believe Sean has been in contact via PM and sent an updated C-code file. I have also sent another updated file. Hopefully one of these files will correct your problem. Please let us know how you get on.

Post Reply