• AVR Freaks

Helpful ReplyHot!Suggestions for the next release of MPLAB® Code Configurator

Page: << < ..11121314 > Showing page 13 of 14
Author
Gouthami c v
Starting Member
  • Total Posts : 84
  • Reward points : 0
  • Joined: 2019/07/11 01:55:44
  • Location: 0
  • Status: offline
Re:Suggestions for the next release of MPLAB® Code Configurator 2019/07/18 23:21:31 (permalink)
0
Hi, i am using PIC24F04KA200 for this series MCC is notworking in MPLAB IDE. Can any one help for this.
 
 
 
Thanking you.
mcovington
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2019/07/12 09:19:40
  • Location: 0
  • Status: offline
Re:Suggestions for the next release of MPLAB® Code Configurator 2019/07/19 20:04:13 (permalink)
2 (1)
Maybe an option to generate fewer files and put more into the main .c file?  For smaller projects it would be convenient to end up with a single .c file (like the programs in textbooks and documentation).
 
oliverb
Super Member
  • Total Posts : 285
  • Reward points : 0
  • Joined: 2009/02/16 13:12:38
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2019/07/22 05:25:27 (permalink)
5 (1)
One request: currently I believe it is very difficult to migrate a MCC design to a different PIC. My specific issue was that if the project was for a 28 pin variant and I switched to a 44 pin variant the only way to get pin manager to accept the existance of ports D and E was to delete and rebuild the MCC configuration.
 
Please make it easier to change PIC.
 
Diesel888
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2019/07/25 19:35:04
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2019/07/31 17:13:07 (permalink)
0
Could the team consider adding PIC 18F8722 to MCC support, please.
This MC fits my purpose (and I'm part way through my project), and the 18F87K22 iteration is already supported, so perhaps it would not be too onerous a task for the team.
Dennis in Tasmania
 
*seems to be an issue with ADC though, but it looks like an offset I can measure then allow for (part of the reason I'd like to see MCC generated code for ADC).
 
acharnley
Super Member
  • Total Posts : 546
  • Reward points : 0
  • Joined: 2016/05/01 06:51:28
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2019/12/05 16:16:16 (permalink)
0
I love MCC, it's the best bit of software Microchip has done.

My two gripes, one minor and one major.

Minor

Not all interrupt handlers generate a function placeholder. For example most timers do something like -


 
 
 

void TMR0_ISR(void)
{
// clear the TMR0 interrupt flag
PIR0bits.TMR0IF = 0;
if(TMR0_InterruptHandler)
{
TMR0_InterruptHandler();
}
 
 
 
// add your TMR0 interrupt custom code
}
 
 
 


While the CLC interrupt handler is -


 
 
 
void CLC2_ISR(void)
{
// Clear the CLC interrupt flag
PIR5bits.CLC2IF = 0;
}
 
 
 


It's minor has I just insert my own at this point, but consistency would be nice.

Major

To generate the interrupt handling code for a peripheral one ticks the necessary box, however there is an assumption the interrupt is to be enabled there and then. Much of the time I just want the code in place and I'll enable the interrupt at a later time.

Rather than modifying the mcc generated code (I try to avoid doing this to prevent accidental changes) I have a config function which overwrites the mcc values before interrupt handling is enabled. For example:


 
SYSTEM_Initialize();
configLed();
configUvl();
 
INTERRUPT_GlobalInterruptEnable();
INTERRUPT_PeripheralInterruptEnable();


configUvl is reverting the value set by MCC code in SYSTEM_Initialize.

So basically "Enable interrupt" should be split into two boxes; 1. Support interrupt handling. 2. Enable interrupt (where 2 is dimmed out if 1. is not selected).
post edited by acharnley - 2019/12/05 16:19:42
Fantalucio
Starting Member
  • Total Posts : 60
  • Reward points : 0
  • Joined: 2003/11/07 12:44:52
  • Location: Verona - ITALY
  • Status: offline
Re:Suggestions for the next release of MPLAB® Code Configurator 2019/12/13 03:38:06 (permalink)
5 (1)
Hi,
I think that it would be useful the possibility to export the PIN MANAGER configuration in a format suitable to share it with the hardware designer.
Ciao,
Lucio
j2423
Super Member
  • Total Posts : 283
  • Reward points : 0
  • Joined: 2015/05/15 23:10:36
  • Location: 0
  • Status: offline
Re:Suggestions for the next release of MPLAB® Code Configurator 2020/01/01 04:38:53 (permalink)
4 (1)
It's still the case that if you want to configure the ECAN module for PIC18F26K83 then you first need to set the System Oscillator to INTOSC 64MHz to get a range of options in the dropdown menus (such as Time Quanta). If you start by setting to EXTOSC with 4x PLL (as is likely indeed obligatory for CAN) then it's impossible to setup the module. Moreover if you remember the bug and then switch back to INTOSC it's not going to let you either: you need a virgin project!
 
Please fix ;-)
Gerry0
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2014/02/09 11:00:13
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 11:09:58 (permalink)
0
I'm working with a new design and I'm using the PIC16F15354. The MCC send errors and tell me that I need some libraries, but not which libraries, I already installed several libraries and nothing. I want to suggest for the next MCC version to add a message telling the libraries missing.
MCC version v3.85.1.
ric
Super Member
  • Total Posts : 27704
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 15:18:04 (permalink)
0
What is the precise error message you are getting?
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
ric
Super Member
  • Total Posts : 27704
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 15:18:15 (permalink)
0
--
post edited by ric - 2020/01/02 15:20:45

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
ric
Super Member
  • Total Posts : 27704
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 15:20:24 (permalink)
0
--
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
Gerry0
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2014/02/09 11:00:13
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 18:51:36 (permalink)
0
MCC tells me that the PIC I'm using needs some library, but don't tell me which one
NKurzman
A Guy on the Net
  • Total Posts : 18798
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 20:01:23 (permalink)
0
Gerry0
MCC tells me that the PIC I'm using needs some library, but don't tell me which one

What PIC are you Using?
What Version of MCC?
What is the exact message?
ric
Super Member
  • Total Posts : 27704
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 20:11:07 (permalink)
5 (1)
Gerry0
MCC tells me that the PIC I'm using needs some library, but don't tell me which one

This is NOT a "precise error message".
Paraphrasing what it actually says just makes it harder to try to help you.
 
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
Gerry0
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2014/02/09 11:00:13
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 20:52:08 (permalink)
0
I'm using PIC16F15354, MCC v3.85.1, 
Error message: some libraries are missing to support the microcontroller you are using
 
ric
Super Member
  • Total Posts : 27704
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/02 22:04:44 (permalink)
0
What precisely did you do before seeing that message?
I just created a bare PIC16F15354 project under MPLABX 5.30 with XC8 v2.10 in free mode, enabled MCC and enabled a timer peripheral. It generated the files without any error messages.
 
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
Mysil
Super Member
  • Total Posts : 3671
  • Reward points : 0
  • Joined: 2012/07/01 04:19:50
  • Location: Norway
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/03 07:01:58 (permalink)
5 (2)
Hi, Gerry0 and Ric
This is the wrong forum for debugging an diagnosing a application development problem.
The original message #248 from Gerry0:
that better information about what library is missing,
is relevant for this Suggestions forum. 
After that, this thread have drifted into detailed problem solving.
That would be better done in a separate thread, targeting the problem at hand.
 
MCC consist of a number of libraries, some mandatory, many optional, each with it's own version number.
To understand what is actually missing, a lot more information is needed about what user is trying to do.
 
The best way to do this, is to create a new separate thread,
and provide a complete problem project in a zipfile,
that should include:  main.c file, any other source files and header files created by the user,
Makefile generated by MPLAB X, MyConfig.mc3 file made by MCC,
files in  nbproject  directory,
and all files generated in  directory:  mcc_generated_files
There is a Package facility in MPLAB X to do all what is mentioned above,
but that may not work, if there are errors that make it impossible to build the program.
 
Such a problem project package, may be the complete project created by the user,
or a stripped-down problem example that still demonstrate the problem.
 
Then Description of what the application program is wanted to do.
In message #248, there is no description at all, to explain what features are wanted, or what peripherals have been selected. 
That may, or may not be intentional by the user, to point out the need for better messages in general,
not just a single case.
But that may make it less likely to get help with a specific problem,
or getting any action taken in the next release of whatever part of MCC that may need improvement.
 
    Mysil
Gerry0
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2014/02/09 11:00:13
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/03 10:12:37 (permalink)
0
I'm using the controller only with Timer0, and every i/o as digital. I choose this controller for memory capacity and I can save data internally. Can you tell me what libraries do I need to install? I already have this ones:
PIC10 / PIC12 / PIC16 / PIC18 MCUs
File System
Foundation Services
MikroElektronika Click
 
katela
Super Member
  • Total Posts : 1814
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/03 10:46:03 (permalink)
5 (1)
It's better if you start a new thread in an appropriate forum as Mysil has advised above.

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
Sobottech
Super Member
  • Total Posts : 285
  • Reward points : 0
  • Joined: 2015/12/02 03:32:17
  • Location: 0
  • Status: offline
Re: Suggestions for the next release of MPLAB® Code Configurator 2020/01/09 10:26:43 (permalink)
4 (1)
Standalone CLC Configuration Tool for code generating
Page: << < ..11121314 > Showing page 13 of 14
Jump to:
© 2020 APG vNext Commercial Version 4.5