bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #50 on: November 25, 2008, 04:59:23 04:59 » |
|
Tete try this i saw your post and made the demo "pro" for you do me a favour tho please test it fully and let me know any bugs ill sort them for you U saw it here first!! ps..no key needed bunion i removed attachment ..22 downloads cool get it here now finished project >>> Re: Hi-Tech PIC Compiler latest versions « Reply #79 on: December 05, 2008, 10:29:16 22:29 »
|
|
« Last Edit: December 10, 2008, 01:12:39 01:12 by bunion »
|
Logged
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #51 on: November 25, 2008, 06:10:11 18:10 » |
|
Hello bunion, thank you very very very much for your work If you're going to "make" PICC-18 PRO 9.63 PL1, I'll gladly check it out (I think PL0 still has some problems)... Best regards, Mark
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #52 on: November 25, 2008, 10:54:29 22:54 » |
|
no probs will do, i never knew newer version was out ie..pl1 from pl0
bunion
|
|
|
Logged
|
|
|
|
newboy
Junior Member
Offline
Posts: 94
Thank You
-Given: 42
-Receive: 20
|
|
« Reply #53 on: November 26, 2008, 05:00:20 05:00 » |
|
LATEST PICC18 PRO v9.63 ill do picc32 and picc later ... of course if u have enuff savvy u can check changes i make and apply them yourselves U saw it here first bunion i removed attachment get it here now _http://www.4shared.com/file/73081957/ed9e73c/PIC18_PRO_V963.html?dirPwdVerified=4ebe3674 Can u share also the demo version in www.4shared.com ... as i confius to download it from the original site, if u done mind. thanks.
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #54 on: November 26, 2008, 08:16:35 08:16 » |
|
marcodassi ,,please test the omniescent code gen part plz ok ..cheers bunion finished project >>> Re: Hi-Tech PIC Compiler latest versions « Reply #79 on: December 05, 2008, 10:29:16 22:29 »
|
|
« Last Edit: December 10, 2008, 01:11:53 01:11 by bunion »
|
Logged
|
|
|
|
acat_lm
Active Member
Offline
Posts: 109
Thank You
-Given: 73
-Receive: 128
|
|
« Reply #55 on: November 26, 2008, 10:55:16 10:55 » |
|
|
|
|
Logged
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #56 on: November 26, 2008, 12:21:11 12:21 » |
|
Thanks a lot, bunion - very appreciated! There's still a problem, but I cant tell if it's my program (I really don't think so, 'cause it compiles OK with the "non-pro" picc18), my winshit installation or the hi-tech compiler. With picc-18 pro 9.63 PL0 I get this error while linking: HI-TECH PICC-18 PRO COMPILER (Microchip PIC micro) V9.63 Copyright (C) 1984-2008 HI-TECH SOFTWARE Serial number: HCDSPIC-xxxxx Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write Error [712] C:\Program Files\HI-TECH Software\PICC-18\PRO\9.63\sources\asftadd.c; 6. can't generate code for this expressionstrange enough, asftadd.c is one of hi-tech source files (look at the directory) ! BUT, with picc-18 pro 9.63 PL1 (the latest bunion one), I get a nice *CRASH* while linking!... I'll try later with a simpler source project, but, I repeat, I've got no problem compiling & linking with STD version. Anyway, thanks bunion for his work! (I think crack is OK, but hi-tech is still gettin' a lot of problems with his "pro" series) cheers mark UPDATE:I try the 18PRO-9.63 PL1 without the bunion crack, and it give me some (linker) error but NO CRASH: HI-TECH C PRO for the PIC18 MCU Family V9.63PL1 Copyright (C) 1984-2008 HI-TECH SOFTWARE licensed for evaluation purposes only this licence will expire on Fri, 09 Jan 2009 Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write Error [712] C:\Documents and Settings\Administrator\Desktop\xxxxx\Firmware\BaseConversions.c; 526. can't generate code for this expression Error [712] C:\Documents and Settings\Administrator\Desktop\xxxxx\Firmware\I2C.c; 70. can't generate code for this expressionwell, those errors are really strange, but let's go ahead: after I copy bunion's cracked .exes into bin dir, I get: HI-TECH C PRO for the PIC18 MCU Family V9.63PL1 Copyright (C) 1984-2008 HI-TECH SOFTWARE Serial number: HCPIC18P-DEMO FAE license only - not for use in commercial applications licensed for educational use only Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during writeand then the nice *CRASH* cgpic18.exe has encountered a problem and needs to close. We are sorry for the inconvenience AppName cgpic18.exe AppVer 0.0.0.0 ModName cgpic18.exe ModVer 0.0.0.0 Offset: 0000eea8hope this helps cheers M
|
|
« Last Edit: November 26, 2008, 12:46:33 12:46 by marcodassi »
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #57 on: November 26, 2008, 04:58:11 16:58 » |
|
great marc with ur help we will beat it
ok...i was being fancy so ill keep it simple ..new patch has 1 changed byte so it will always be evaluation with no expiry...u must use included reg file tho ...good luck...
|
|
|
Logged
|
|
|
|
94491203
Newbie
Offline
Posts: 31
Thank You
-Given: 7
-Receive: 21
|
|
« Reply #58 on: November 26, 2008, 05:06:46 17:06 » |
|
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #59 on: November 26, 2008, 07:08:19 19:08 » |
|
marc and others heres latest patch to test...this will work now link deleted ... bunion ps..plz let me know if working now
|
|
« Last Edit: December 10, 2008, 12:42:53 00:42 by bunion »
|
Logged
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #60 on: November 26, 2008, 08:31:00 20:31 » |
|
Hello bunion, thanks again for all yr efforts. Here are the results: picc18.exe + picc18.reg CRASH picc18.exe + picc181.reg CRASH picc18.exe + picc182.reg CRASH 2picc18.exe + picc18.reg CRASH 2picc18.exe + picc181.reg CRASH 2picc18.exe + picc182.reg CRASH (*) 3picc18.exe + picc18.reg don't even start in MPLAB (MPLAB does not recognize it) 3picc18.exe + picc181.reg don't even start in MPLAB (MPLAB does not recognize it) 3picc18.exe + picc182.reg don't even start in MPLAB (MPLAB does not recognize it) One question: should I replace the "cgpic18.exe" file too (from older crack) ? And one note: on the test marked with (*), I got this message (just before crashing): HI-TECH C PRO for the PIC18 MCU Family V9.63PL1 Copyright (C) 1984-2008 HI-TECH SOFTWARE licensed for evaluation purposes only FAE license only - not for use in commercial applications licensed for educational use only (1273) Omniscient Code Generation not available in Lite mode (warning)this licence will expire on Mon, 27 Sep 1976 Phone me if u need me makin' some other tests and thank you again M
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #61 on: November 27, 2008, 04:37:52 04:37 » |
|
hmm marc thanks but...u r meant to rename each file back to picc18.exe b4 starting so u started with picc18 then afterwards u put that somewere abd u take 2picc18 and rename to picc18 so on and so on the 1st picc18.exe has 1 change so it wonyt expire...they all work here no crashes picc18 + 1st reg =evalution no expirty..wotks great in hitide 3.15 using pwm sample 3picc18 = PRO " " 2picc is a mix of thetoo so leave that with the other reg they both run as eval and education and fae so that we r on same hymm sheet plz try in hittide please as mines dont crash? ? thankss marc we will get there bunion ps..yes dont use patched cg exe till we get ur picc18 running so delete that or install demo again using 35553 as reg key amd checking offline install as pro then browse to folder and place picc18 in bin folder and dbl cli8ck 1st reg .. then run in hitide ide..using a sample from picc18 samples and see how u get on ... it looks ok here but im not a pic person so ur the tester...ill make changes axxording to what you find out there all code same so we fix one we get them all heh good luck
|
|
« Last Edit: November 27, 2008, 04:46:17 04:46 by bunion »
|
Logged
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #62 on: November 27, 2008, 02:53:38 14:53 » |
|
Hello bunion! Here's the deal: we're gonna use this great program for testing, the chip is PIC18F4525 (any PIC18 will do, however): void main(void) { volatile unsigned char a, b, c; a = b + c; }Here are the results (using MPLAB IDE, sorry, but I have no time to learn HI-TIDE now with PICC18 STD 9.51 PL3:------------------------- optimizations: global (9), assembler large memory mode, code pointer size = 16 bit HI-TECH PICC-18 STD COMPILER (Microchip PIC micro) candidate build 2908 V9.51PL3 Copyright (C) 1984-2008 HI-TECH SOFTWARE Serial number: HCPIC18-xxxx this licence will expire on Thu, 31 Dec 2037 Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write
Memory Summary: Program space used 1Ah ( 26) of C000h bytes ( 0.1%) Data space used 3h ( 3) of F80h bytes ( 0.1%) EEPROM space used 0h ( 0) of 400h bytes ( 0.0%) External data memory None available ID Location space used 0h ( 0) of 8h nibbles ( 0.0%) Configuration bits used 0h ( 0) of 7h words ( 0.0%)
This is the generated code: 0000: LFSR 0, 0xfd NOP CLRF POSTINC0, ACCESS CLRF POSTINC0, ACCESS CLRF POSTINC0, ACCESS GOTO main main: MOVLB 0 MOVF c, W, BANKED ADDWF b, W, BANKED MOVWF a, BANKED GOTO 0 NOP Looks and run OK, as usual. with PICC18 PRO 9.63 PL1, DEMO installation with 45 day license:---------------------------------------------------------------- optimizations: global (9), assembler large memory mode, code pointer size = 16 bit HI-TECH C PRO for the PIC18 MCU Family V9.63PL1 Copyright (C) 1984-2008 HI-TECH SOFTWARE licensed for evaluation purposes only this licence will expire on Fri, 09 Jan 2009 Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write Warning [1257] C:\Documents and Settings\Administrator\Desktop\test\test.c; 5. local variable "_b" is used but never given a value
Memory Summary: Program space used Eh ( 14) of C000h bytes ( 0.0%) Data space used 3h ( 3) of F80h bytes ( 0.1%) EEPROM space used 0h ( 0) of 400h bytes ( 0.0%) ID Location space used 0h ( 0) of 8h nibbles ( 0.0%) Configuration bits used 0h ( 0) of 7h words ( 0.0%)
Saved some ROM bytes Here's the generated code: 0000: GOTO main main: MOVF c, W, ACCESS ADDWF b, W, ACCESS MOVWF a, ACCESS GOTO 0 NOPLooks nice, compiler has automatically placed all our vars into ACCESS area (faster), and there's no cloacks in the code (like the 3 * "CLRF POSTINC0, ACCESS" generated by PICC18 STD) with PICC18 PRO 9.63 PL1, DEMO installation + bunion's "picc18.exe" AND picc18.reg---------------------------------------------------------------------------------- optimizations: global (9), assembler large memory mode, code pointer size = 16 bit HI-TECH C PRO for the PIC18 MCU Family V9.63PL1 Copyright (C) 1984-2008 HI-TECH SOFTWARE Serial number: HCPIC-DEMO licensed for evaluation purposes only this licence will expire on Sat, 06 Dec 2008 Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write Warning [1257] C:\Documents and Settings\Administrator\Desktop\test\test.c; 5. local variable "_b" is used but never given a value Warning [1269] ; . there are 9 days left until this licence will expire
Memory Summary: Program space used 1Ah ( 26) of C000h bytes ( 0.1%) Data space used 3h ( 3) of F80h bytes ( 0.1%) EEPROM space used 0h ( 0) of 400h bytes ( 0.0%) ID Location space used 0h ( 0) of 8h nibbles ( 0.0%) Configuration bits used 0h ( 0) of 7h words ( 0.0%) Oh shit! What's happened? 0000: GOTO main main: MOVLB 0 MOVLB 0 MOVF b, W, BANKED MOVLB 0 MOVLB 0 ADDWF c, W, BANKED MOVLB 0 MOVLB 0 MOVWF a, BANKED GOTO 0 NOP Looks even WORST than PICC18 STD! Lot of unnecessary code in the sum! I think the compiler discovered that something has changed, and turn off the optimizer phase or something like that! This thing will happen with "picc18.exe" and "2picc18.exe" (obviously renamed to picc18.exe), with any .reg file; "3picc18.exe" is still not recognized by MPLAB IDE (at compiling time, IDE switchs to PICC18-STD) I think you can check it out by yourself, using the .c program at the top; just compile it and check if program bytes = 14 / 3 (like in the second example). Anyway, thanks for your efforts!!! C U, Mark PS Just tested the "demo" version of PRO compiler (no cracks) on my current project, and it still crashes!... so, that wasn't bunion's fault I think HI-TECH still has some bugs to squash....
|
|
« Last Edit: November 27, 2008, 03:01:28 15:01 by marcodassi »
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #63 on: November 29, 2008, 06:36:17 18:36 » |
|
NICE WORK Marcodassi...think we have cracked it bro...i didnt want to let u down so ive been on it 24/7 last 2 days thats y i didnt reply so heres code my patched picc18 ( patched by my all hitech universal patcher ) <PROPER HI-TECH C PRO for the PIC18 MCU Family V9.63PL1 Copyright (C) 1984-2008 HI-TECH SOFTWARE Advisory #1192: ; : licensed for evaluation purposes only Advisory #1193: ; : this licence will expire on Wed, 14 May 2031 Advisory #1233: ; : Employing 18F4525 errata work-arounds: Advisory #1234: ; : * Corrupted fast interrupt shadow registers Advisory #1234: ; : * Data in RAM location can be corrupted if async. reset occurs during write Warning #1257: ..\main.c; 3: local variable "_b" is used but never given a value (col ) Build complete for project ooo Time consumed: 2500 ms. hmm im gettimg the line a=b+c highlighted as a prob in hitide b4 i even start heres code its a mess think yet i think it might be a hitide prob mayb? 146 00BFF4 _main: 147 opt stack 31 148 ; BSR set to: ? 149 00BFF4 0100 movlb 0 ; () banked 150 00BFF6 51FF movf (??_main+2)& (0+255),w,b ;volatile 151 00BFF8 25FE addwf (??_main+1)& (0+255),w,b ;volatile 152 00BFFA 6FFD movwf ??_main& (0+255),b ;volatile 153 ;main.c: 6: } 154 ; BSR set to: ? 155 00BFFC EF00 F000 goto start 156 i tried mplab but dunno how to create a simple progam in that please advise my fix is whole diff way from last attemps ps im newbie wi pics cheers bunion think you can check it out by yourself, using the .c program at the top; just compile it and check if program bytes = 14 / 3 (like in the second example). 10/3 here ps...
|
|
« Last Edit: November 29, 2008, 06:44:05 18:44 by bunion »
|
Logged
|
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #65 on: December 01, 2008, 09:18:13 09:18 » |
|
Cheers bunion!!! Thank you very much for all yr efforts I'm gonna d/l yr new patch and try it... I'll let you know if it's ok now Sorry but I'm out of my home these days, got a shitty 56k line and can't be online 24/7 as usual See you, - m Posted on: December 01, 2008, 10:14:43 10:14 - Automerged
woops bunion, where's the patch? please gimme a link
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #66 on: December 01, 2008, 10:36:20 22:36 » |
|
marcodass this any better ??
this licence will expire on Sun, 09 Dec 2029 Advisory[1233] Employing 18F4525 errata work-arounds: Advisory[1234] * Corrupted fast interrupt shadow registers Advisory[1234] * Data in RAM location can be corrupted if async. reset occurs during write Warning [1257] C:\Program Files\Microchip\Third Party\PICC\Examples\main.c; 3. local variable "_b" is used but never given a value
Memory Summary: Program space used 12h ( 18) of C000h bytes ( 0.0%) Data space used 3h ( 3) of F80h bytes ( 0.1%) EEPROM space used 0h ( 0) of 400h bytes ( 0.0%) ID Location space used 0h ( 0) of 8h nibbles ( 0.0%) Configuration bits used 0h ( 0) of 7h words ( 0.0%)
--- C:\Program Files\Microchip\Third Party\PICC\Examples\main.c -------------------------------- 1: void main(void) { 2: volatile unsigned char a, b, c; 3: a = b + c; BFF6 5001 MOVF 0x1, W, ACCESS BFF8 2402 ADDWF 0x2, W, ACCESS BFFA 6E00 MOVWF 0, ACCESS 4: } BFFC EF00 GOTO 0
i did it in mplab ..y does it show my main.c code in with the finished deal...please advise..must admit my code looks cool now eh?
bunion
Posted on: December 01, 2008, 11:33:44 23:33 - Automerged
marcodassi i just mised u plz get back to me soon as bro
|
|
|
Logged
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #67 on: December 02, 2008, 07:48:02 07:48 » |
|
Hello bunion! I'm still alive but I can't be online 24/7 these days, I have to use a old analog 56k line Please gimme a link to download your patcher, I can't see it in your latest posts!... so I can test it too Cheers, mark Posted on: December 02, 2008, 08:18:31 08:18 - Automerged
BTW, now your code looks really COOL!!! I think you've finally done it
|
|
|
Logged
|
|
|
|
tete
Inactive
Offline
Posts: 4
Thank You
-Given: 0
-Receive: 0
|
|
« Reply #68 on: December 02, 2008, 02:31:14 14:31 » |
|
Bunion,
thanks very much for dspicc pl2
however I cannot download from link
Do you have an alternate?
Regards,
Tete
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #69 on: December 02, 2008, 03:32:03 15:32 » |
|
tete yes ..plz pm me YOUR demo key to check if it runs any pc key thanks bunion if not ill built one 4 u never mind thats silly ill send u a tester see pm Posted on: December 02, 2008, 03:34:12 15:34 - Automerged
ok everyone that people got testers for picc18,dspicc and c51...teter is to show it never expires when using valid demo key...im now onto 2nd stage ..making them all run on same key im on it folks dont release testers plz im workin hard on ths for u all
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #70 on: December 04, 2008, 07:57:29 07:57 » |
|
SUCCESS!!!!!!!!!!! Finally got it running as pro eval with any license and no expiry till 2030 somthing ive gave tester to marcodassi and ferret and once they say its ok ill create patches for all the latest versions job done
|
|
|
Logged
|
|
|
|
mitsos
Hero Member
Offline
Posts: 860
Thank You
-Given: 3086
-Receive: 4596
|
|
« Reply #71 on: December 04, 2008, 09:38:40 09:38 » |
|
hi
can you share the crack?
regards mitsos
|
|
|
Logged
|
|
|
|
bunion
Hero Member
Offline
Posts: 701
Thank You
-Given: 660
-Receive: 4122
|
|
« Reply #72 on: December 04, 2008, 01:04:33 13:04 » |
|
miltos certainly,
im doing it for the members here but we3 r still testing at mo ...just got pm from marc saying he needed regfile altered which i done...just waiting on word from marcodassi and frisky_ferret and if alls well we.ll release fixes for all hitechprods
bunion
|
|
|
Logged
|
|
|
|
marcodassi
Junior Member
Warned
Offline
Posts: 40
Thank You
-Given: 73
-Receive: 26
|
|
« Reply #73 on: December 04, 2008, 01:53:14 13:53 » |
|
SUCCESS Please take a bow to BUNION who finally got it running OK! My friend, you've really done it, congratulations, this is very appreciated!!! Code is OK now and the compiler will expire on 2029 something... Again, thank you very much! Next step will be a universal cracker appz for all hitech's compilers! Best regards, thank you and call me whenever you need! Mark
|
|
|
Logged
|
|
|
|
94491203
Newbie
Offline
Posts: 31
Thank You
-Given: 7
-Receive: 21
|
|
« Reply #74 on: December 04, 2008, 02:07:12 14:07 » |
|
I cannot download this files,who can share the crack files?
|
|
|
Logged
|
|
|
|
|