Hot!Where is the Generate Code button ?

Author
JanJansen
Super Member
  • Total Posts : 490
  • Reward points : 0
  • Joined: 2012/08/25 03:26:34
  • Location: 0
  • Status: offline
2017/08/12 07:47:47 (permalink)
0

Where is the Generate Code button ?

Hi, i am missing the generate code button,
there is a generate button in the resource managment, changed are not done in the code with this button.
 
If i look to the youtube movie they have a generate code button, why dont i have that ?
i have v 3.36
 
thanks in advance
#1

13 Replies Related Threads

    katela
    Super Member
    • Total Posts : 461
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: online
    Re: Where is the Generate Code button ? 2017/08/12 10:31:30 (permalink)
    0
    can you post the screenshot of your mcc configuration?

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #2
    JanJansen
    Super Member
    • Total Posts : 490
    • Reward points : 0
    • Joined: 2012/08/25 03:26:34
    • Location: 0
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/13 05:06:33 (permalink)
    0
    How do i attatch a picture then ?
    #3
    rodims
    Super Member
    • Total Posts : 817
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/13 06:27:11 (permalink)
    3 (1)
    If you cannot post it here, try posting it at imgur.com and paste the link here.
    Btw, why not also paste the link to your video ?
    #4
    JanJansen
    Super Member
    • Total Posts : 490
    • Reward points : 0
    • Joined: 2012/08/25 03:26:34
    • Location: 0
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/13 09:24:54 (permalink)
    3 (1)

    #5
    katela
    Super Member
    • Total Posts : 461
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: online
    Re: Where is the Generate Code button ? 2017/08/13 12:24:43 (permalink)
    5 (1)
    I see the generate button on the top left corner next to project resources

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #6
    JanJansen
    Super Member
    • Total Posts : 490
    • Reward points : 0
    • Joined: 2012/08/25 03:26:34
    • Location: 0
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/14 06:35:40 (permalink)
    0
    That button does not generate new codes.
    #7
    rodims
    Super Member
    • Total Posts : 817
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/14 06:47:06 (permalink)
    4 (2)
    Please describe how you know that it does not generate new codes. What do you check ?
    And what does "new" mean?  You already created codes before ? Without the button ?
    #8
    JanJansen
    Super Member
    • Total Posts : 490
    • Reward points : 0
    • Joined: 2012/08/25 03:26:34
    • Location: 0
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/14 06:49:25 (permalink)
    0
    Yes i change things and the code dont change.
    I have some code generated earlyer, i cant remember how.
     
    Why does this movie do has a generate code button that i dont have :
    https://www.youtube.com/watch?v=vjOj_cWluIY
     
    How else do you generate code without that button ?
    What is that other generate button for then ?
    post edited by JanJansen - 2017/08/14 06:50:52
    #9
    rodims
    Super Member
    • Total Posts : 817
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/14 07:47:51 (permalink)
    3 (2)
    The movie is 2 years old !  If the button was placed at another location in that older MCC version, this is not your problem now. 
    The question was "where is the button" and I think the question is solved.
    Your statement  "I change things and the code don't change" does not give enough information to provide help.
     
    #10
    JanJansen
    Super Member
    • Total Posts : 490
    • Reward points : 0
    • Joined: 2012/08/25 03:26:34
    • Location: 0
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/14 07:52:21 (permalink)
    0
    I deleted ann code in the UART file, changed some settings at the clock, then pressed the generate button.
    The UART file is still empty.
    #11
    rodims
    Super Member
    • Total Posts : 817
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: offline
    Re: Where is the Generate Code button ? 2017/08/14 08:47:51 (permalink)
    0
    I have not much experience with MCC, but I guess you have some merge problems with the things you change (delete all content ? ) and what MCC would like to  "Generate" (and merge if it could)
    For some changes it provides a Merge document, but for some changes it seems to do nothing.
    If you want to create a completely new version of e.g. uart1.c then do not delete the file content, but delete the file from the project.
    #12
    katela
    Super Member
    • Total Posts : 461
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: online
    Re: Where is the Generate Code button ? 2017/08/14 10:05:57 (permalink)
    0
    JanJansen
    I deleted ann code in the UART file, changed some settings at the clock, then pressed the generate button.
    The UART file is still empty.


    Don't try to delete or modify the MCC generated files as these codes are generated by your settings. Only delete/change the codes you wrote yourself like in the main.c file. Just change your settings then Hit that 'button" to generate new MCC codes.
     

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #13
    Jim Nickerson
    User 452 _
    • Total Posts : 4037
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: online
    Re: Where is the Generate Code button ? 2017/08/14 11:03:25 (permalink)
    3 (1)
    When I click "Generate" I look Here to see what happened.

    Attached Image(s)

    #14
    Jump to:
    © 2017 APG vNext Commercial Version 4.5