CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How long does CCS tech support normaly take to fix things ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

How long does CCS tech support normaly take to fix things ?
PostPosted: Tue Sep 05, 2006 10:36 am     Reply with quote

I have submitted tech support request to CCS for a problem with my new Mach X programmer. See http://www.ccsinfo.com/forum/viewtopic.php?t=28002

How long is reasnable amount of time for them to come with a fix ? What are your experiences ?
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Sep 05, 2006 1:57 pm     Reply with quote

Problems can be fixed from within a couple of days to several weeks. Problem then is that you'll have to wait for the next version to be released to get access to the fix. New versions are released depending on number and severity of other bugs fixed and on some unspecified other variables like amount of money sent to a certain bank account, etc.

Now with version 4 out all the effort will go into making that a stable release. From past experience this will take at least 6 months. I reported a bug in v3.249 several months ago and got confirmation of the problem being solved in the next release. I'm still hoping a v3.250 version will be released as I don't want to migrate to v4 until it has proven to be stable for several months.
Ttelmah
Guest







PostPosted: Tue Sep 05, 2006 3:00 pm     Reply with quote

I'm not sure that the problem here is with MachX. There is something wrong with the declaration being generated by the compiler. When you generate a constant, the prgram to read it is also attached in the memory area. For the example you give, the configuration line in the hex file, should be accessing the data _after_ this program, which would start at FF4, not FF1. I generated a demo test, with the serialise configured as I normally do it:
Code:

#include <16F648A.h>
#device *=16
#use delay(clock=4000000)

// Determine the location at the top of memory to locate the UID
#define PROGRAM_SIZE getenv("PROGRAM_MEMORY")

#define CONST_SIZE  16
#define CONST_BEGIN  (PROGRAM_SIZE - CONST_SIZE)
#define CONST_END  (PROGRAM_SIZE - 1)

#org CONST_BEGIN,CONST_END
const unsigned int32 ROM_UID = 0;
#serialize(id=ROM_UID,file="serials.txt",log="seriallog.txt")
#org default

void main()
{
   int8 temp;
   temp=ROM_UID;
   while(TRUE) ;
}

and this happpily compiles, and generates the accesses to the 'right' locations (0xFF4 t0 FF7):
Code:

:1000000000308A0004280000840183131F30830518
:1000100007309F000030A2000330A20722088A1593
:10002000F0278A11FA00A20322088A15F0278A1104
:10003000F900A20322088A15F0278A11F80022038A
:0E0040008A15F0278A11F700A1002528630019
:101FE0000A148A140A1582070034003400340034BD
:00000001FF
;BURNTIME 000FF4,000FF7 BINARY NEXTFILE="SERIALS.TXT" LOG="SERIALLOG.TXT"
;PIC16F648A

MachX, happily programmed this, and there is no sign of the probelm you describe. This with 3.249.

Best Wishes
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Thu Sep 07, 2006 4:37 am     Reply with quote

Dear Ttelmah

Its interesting that it worked for you ! I compiled your code with my 3.249 pcm and goto exactly the same hex file you posted, reassuring to know ! However to be sure I cut-pasted your hex code from the posting into a hex file tried it in my "Barnd New" MachX (Device Programmer V1.89). I put in a brand new PIC16F648A into the ZIF socket, checked that device was PIC16F648A and the green dot in the ZIF socket option and hit the "Burn Chip". I also checked the details in "Serial numbering" button and it all looked good to me, ie green tick in use automatic and address 4084 (FF4) and length 4, binary option, inc no saved in other file, and the correct serial and logs file entrys.

I got verification error at address FF4 where Actual was 3400 and Expected was 340F (16 now in serials.txt). Just to check I read the chip back with my ICD2 and yes FF4 = 3400 (ie RETLW 0).

I tried again with another brand new 16F648A, same problem.

I would hazard a guess that the machx actualy tried to put the 340F at some random location out of Prog EEPROM range. I looked for the RETLW's in some other Prog location but could not find any. With my code the random location it chose to put the ROM_UID in was within Prog EEPROM range and so the verification succeeded, all be it the wrong place to put it.

Which version of MachX do you have ? Did you read the chip back again to check ?

Oh, the reason my original code loaded the int32 at FF1 instead of FF4 as in your test was due to the large size of my code and thus the call to get the ROM_UID was in the same bank as the routine and thus the BSF PCLATH instructions were deemed not necessary by the compiler and it saved the use of three words.


Here is my hex code which results in 0x8CA getting over written by the ROM_UID code when programmed with the MachX. If you can try it in your programmer and see where the ROM_UID ends up after you read the chip back again?

Code:
:1000000008308A0000280000FF00030E8301A100D1
:100010007F08A0000A08A8008A01A00E0408A20018
:100020007708A3007808A4007908A5007A08A6003C
:100030007B08A700831383128C308400801E222843
:100040008C1A3528220884002308F7002408F800B9
:100050002508F9002608FA002708FB0028088A006E
:10006000210E8300FF0E7F0E09008A11A3290A10BA
:100070008A100A1182074F344B3400340000831673
:10008000CA08031948288312AF17AF164A288316E7
:1000900083122F1700000630DC00AF1A52282F12EF
:1000A000AF192F16003483164C084A06CD00CE0136
:1000B0004E0CFA004D0CF900FA0CF90CFA0CF90C84
:1000C000FA0CF90C0F30FA057908CD067A08CE063D
:1000D0004B08D000CF014D0EFA00F901F030FA05BF
:1000E00079084F06D1007A084B06D2004D0DF90071
:1000F0004E0DFA00F90DFA0DF90DFA0DF90DFA0D84
:10010000F90DFA0DE030F90579085106D3007A08A7
:100110005206D40053084D06CB0054084E06CC00BE
:100120004B08F8004C08F900831200345C08F93ED3
:1001300003187E29073E982983164F088312CC00A6
:10014000CC1FBB280130DC004C08F700F70E770C01
:100150000339FC3E0318BA28043E80290830DD002C
:10016000BA280430DD00BA280230DD00BA28013098
:10017000DD00BA28BD280530DC007E29CE018316BB
:100180004F088312CD000230DC007E2983164F0811
:100190008312CE004E08DF004D08DE00E001033080
:1001A000DC007E2983164F0883124D07CF004E08CE
:1001B000D0000318D00A0430DC007E298316D00159
:1001C00083125D088316500203186B2983123508C9
:1001D0005E02031D5F2936085F02031D5F294C087C
:1001E000F700F70E770C0339FC3E03184D29043E47
:1001F000902983164F08F7005008F80003190429C6
:100200000310F70CF80B0029D1017718D10A8312DB
:100210004D2983165008FC3E03183529043E8312ED
:10022000882983164F080339D100352983164F0CCE
:10023000F700F70C3F30F70577080339D10035296F
:1002400083164F0EF7000F30F70577080339D100FA
:10025000352983164F0EF700F70CF70C0330F7051E
:1002600077080339D1003529831683124D29831667
:10027000D008031943294F0EF7000F30F705770810
:100280000F39D10046294F080F39D10083124D296B
:1002900083164F08D10083124D295108D10A523ECE
:1002A00084008316510880008312AF155108093C61
:1002B00003185F290630DC0083166B298312E00ADD
:1002C0006008093C03186829E001DE0A0319DF0A07
:1002D0008316D00AE02883127E295108D10A523EA3
:1002E000840083164F0880008312AF155108093C23
:1002F00003187C290630DC007E297E298A118E2B8A
:100300000A148A100A118207AE28B128B428B72827
:100310000A148A100A11820711291629202929296D
:100320000A148A100A118207F9280929372948294D
:100330000A148A100A1182079C28BE28C628D228CF
:10034000DE286D297D2985158C1ED82B9818AA29A1
:10035000181DB529981CAE2918121816181DB42995
:100360001A088316BD008312D52B1A088316BD0008
:100370007108F10A613E84003D0880000F30F105EC
:100380003D08BF00C001C0080319E129400FCC2976
:100390008312AF10DF29831683122F11C908031DA2
:1003A000D529831640088312C9008316C01FE0298F
:1003B0008312AF1083164008CA0083123E208316B2
:1003C000D62B8312AF18FB2983163F085A3C031D16
:1003D000F9298312AF142F150130BF00C001C101EC
:1003E000C401C301C20183163F088312BB00C901C7
:1003F0008316D62B8312BF0803197D2ABF0B7C2AD4
:1004000083163F088312BE003E08F039403C0319B2
:10041000212A3E08F039503C031D152A2F11C90826
:10042000031D142A0130C900212A2F11C908031DF8
:100430001B2A8930C900AF1089308316CA00831285
:100440003E203E08033903192F2A013A03193C2A9A
:10045000033A03193F2A013A0319422A452A2F1168
:10046000C908031D352A8930C900AF1089308316A9
:10047000CA0083123E20452A0430C000452A0130BC
:10048000C000452A0230C000452A3E080439043C19
:10049000031D4D2A0230C1004F2A0130C100023035
:1004A000C2002F1D7C2AFF30F800F9007908BD003A
:1004B0007808BC003B088316CA0083123D088316E7
:1004C000CC0083123C088316CB008312532079089A
:1004D000BD007808BC003E088316CA0083123D08A0
:1004E0008316CC0083123C088316CB008312532062
:1004F0007908BD007808BC00D52BC0080319212B52
:10050000C00345304007840083163F0880008312F3
:10051000C008031D0D2B3E080339013A0319972A21
:10052000033A0319D42A013A0319EA2A0D2B450884
:100530008316C400831246088316C300831247083B
:100540008316C200831248088316C1004108831233
:100550003002031DBD2A8316420883123102031D97
:10056000BD2A8316430883123202031DBD2A831657
:100570004408831233020319D32A8316C108031DCA
:10058000CC2AC208031DCC2AC308031DCC2AC408E8
:10059000031DCC2A8312D32A83122F11C908031DED
:1005A000D32A0330C9000D2B45088316C70047081E
:1005B000831234020319E92A8316C708031DE22AAD
:1005C0008312E92A83122F11C908031DE92A033077
:1005D000C9000D2B45088316C600831246088316F2
:1005E000C500450883123502031DFC2A8316460800
:1005F0008312360203190C2B8316C508031D052B25
:10060000C608031D052B83120C2B83122F11C9085A
:10061000031D0C2B0330C9000D2B2F1D202B83161F
:100620003F08CA0083123D088316CC0083123C08A1
:100630008316CB00831253207908BD007808BC00D4
:10064000D52BC1080319642BC10345304107840031
:1006500083163F0880008312C108031D502B3E08FB
:100660000439043C031D392B4508CB004608CA0059
:100670003C2BCB014508CA004B08C4004A08C30004
:100680004B088316CB0083124A088316CA00000069
:1006900083120515DC01AF112F12AF12D101051124
:1006A0002F1D632B83163F08CA0083123D08831653
:1006B000CC0083123C088316CB00831253207908A8
:1006C000BD007808BC00D52BC308031D6A2BC408E5
:1006D0000319A32B43080319C403C30343084A02A5
:1006E0008316CA0083124B088316CB00831244087A
:1006F000031C440F7C2B7F2B8316CB0283128316A3
:100700003F08CC004B08CE004A08CD000000831201
:10071000061783164C08CF008312962806132F1D48
:10072000A22B83163F08CA0083123D088316CC0013
:1007300083123C088316CB00831253207908BD0036
:100740007808BC00D52BC2080319D52BC20345304D
:100750004207840083163F0880008312C208031DED
:10076000D52B2F1DCD2B45088316C90083124608B3
:100770008316C80083123C0883164802031DC62B4B
:1007800083123D08831649020319CE2B83122F11C1
:10079000C908031DCD2B0430C90083168312AF1086
:1007A00049088316CA0083123E2083168312A429A7
:1007B00085118C128A11222883168C1683128A15B1
:1007C000412806108A1544288316B308031DEC2B14
:1007D00083120510F02B8316330BF12B8312851037
:1007E000831600000230B700B7080319222C37081F
:1007F000023C031DFD2B3408FE2B3508B6000730E4
:10080000B80036088039031D072C0030082C013051
:10081000F80078180F2C83120612112C83168312FD
:10082000061603108316B60D00008312861500000D
:10083000861100008316B8080319202CB803012C78
:10084000B703F42BB308031D292C831205142D2C98
:100850008316330B2E2C831285148316000083120B
:1008600086110612003483162F08B3001030B4002E
:10087000B5018312E42383162F08B3000A30B400B5
:10088000FF30B5008312E42383162F08B300133022
:10089000B400FF30B5008312E42383162F08B300A1
:1008A0001430B400FF30B5008312E42383162F0800
:1008B000B3001530B400B5018312E42300340514ED
:1008C0008514861106128316AF018312332401307A
:1008D0008316AF0083123324FF30AB00AC00AD00B1
:1008E000AE008316B3011530B4002D08B500831295
:1008F000E42301308316B3001530B4002D08B50091
:100900008312E4238316B3011030B4000130B50024
:100910008312E42301308316B3001030B400013099
:10092000B5008312E423003483169B019C131C142E
:100930001A08AE00AF002D088400840A80018403E9
:100940002E08800001309B009C131C141A08AE0076
:100950002E08AF072D088400840A0008B200840323
:100960000008B1002D088400840A2E08800084034A
:100970003108800002309B009C131C141A08AE0042
:100980002E08AF072F08F80083128A1560288316F7
:100990002D08AF00B0009B012F089A001C15831290
:1009A0000B08F7008B13831655309D00AA309D006D
:1009B0009C149C18D92C1C11770883128B04831665
:1009C0002E08AF002F08B00701309B002F089A00B7
:1009D0001C1583120B08F7008B13831655309D00EE
:1009E000AA309D009C149C18F32C1C1177088312CC
:1009F0008B0483163009AF00AF0A02309B002F082A
:100A00009A001C1583120B08F7008B1383165530C0
:100A10009D00AA309D009C149C180C2D1C11770879
:100A200083128B048A157128AE30840000080319E4
:100A3000262D0630F800F701F70B1C2DF80B1B2DA7
:100A40007B30F700F70B222D800B192D0034831615
:100A50003008023C031C2F2DFF30B200382D300827
:100A6000FE3C0318362D0230B200382D3008B2009B
:100A70002F08043C031C512D03102F0DB100B301AE
:100A80003108B4003208B5008312E4238316B10A9A
:100A9000B3013108B4003208B5008312E423702D8D
:100AA00083162F08043C0318712D2F08093C031CE2
:100AB000712D0530AF0203102F0DB1000130B300CE
:100AC0003108B4003208B5008312E4238316B10A5A
:100AD0000130B3003108B4003208B5008312E423BA
:100AE00083168312003483162D08093C03187A2DCF
:100AF0000A30AD020330AE052E08FC3E0318A72DC8
:100B0000043E8312A92D83162D08AF00B001831275
:100B100027258316A72D83162D08AF004030B0007F
:100B2000831227258316A72D83162D08AF0080304A
:100B3000B000831227258316A72D83162D08AF003A
:100B4000FF30B000831227258316A72D831683124A
:100B500000340A148A100A158207832D8B2D942DD8
:100B60009D2DAF108A15AB2806148A15FC280000AD
:100B70008316320883120C1ABF2D8316BA2D9900E2
:100B8000003483169818C62D8312C12D0000000072
:100B9000831206108A11F72E34088316AE00B001B6
:100BA000831251088316AF00FF30F800F90079086E
:100BB0008312B8007808B7005A308316B1003108A4
:100BC000B2008312B725A9018B1BA9178B138316BB
:100BD0003108CA00831238088316CC008312370804
:100BE0008316CB0083125320A91B8B177908B800FA
:100BF0007808B70083163008003C0318022E5630E0
:100C0000B100042E5230B1003108B2008312B72572
:100C1000A9018B1BA9178B1383163108CA008312F5
:100C200038088316CC00831237088316CB00831252
:100C30005320A91B8B177908B8007808B7008316D2
:100C40002E08B1003108B2008312B725A9018B1B11
:100C5000A9178B1383163108CA008312380883162C
:100C6000CC00831237088316CB0083125320A91BB4
:100C70008B177908B8007808B700831630088312FC
:100C8000BA0083162F088312B90083162F08B1000B
:100C90003108B2008312B725A9018B1BA9178B134A
:100CA00083163108CA00831238088316CC008312D9
:100CB00037088316CB0083125320A91B8B177908A2
:100CC000B8007808B70083163008003C0318872E58
:100CD0003008FA01B1003108B2008312B725A9012A
:100CE0008B1BA9178B1383163108CA00831238088F
:100CF0008316CC00831237088316CB00831253204F
:100D0000A91B8B177908B8007808B7008316AD01C6
:100D10008312510883162D020318BF2E52302D075F
:100D200084000008AE002E08AF008312B908031D2E
:100D30009C2EBA080319BC2E39080319BA03B9034B
:100D400083162F08B2008312B725A9018B1BA917A0
:100D50008B1383162F08CA00831238088316CC0021
:100D6000831237088316CB0083125320A91B8B17DD
:100D70007908B8007808B7008316AD0A882E831268
:100D8000B908031DC62EBA080319E72E390803193E
:100D9000BA03B9038316B2018312B725A9018B1BCD
:100DA000A9178B138316CA01831238088316CC0047
:100DB000831237088316CB0083125320A91B8B178D
:100DC0007908B8007808B7008316BF2E8312370859
:100DD0008316AE002E08B2008312B7253808FA0138
:100DE0008316AE002E08B2008312B725C12D8A15D6
:020DF0001429C4
:1010000084011F308305153083169900263098001F
:1010100090308312980007309F00AA012F10AF1064
:101020002F11BB01BC01BD01BE01BF01C001C10147
:10103000C201C301C401C501C601C701C801C9017C
:10104000CA01CB0100000000B301B201B1010130BF
:10105000B00007309F00831605081030F700F70B2B
:101060002F28000083121F080C1383168113FF30F2
:10107000831285008600F0306500263066008A11F4
:10108000DC2B8A158A11E12B8A15C0308B040000F5
:10109000861E522804308316AD008A1183125F2405
:1010A0008A15592807308316AD008A1183125F24F0
:1010B0008A15000035308316AD008A118312942CF6
:1010C0008A15F80803197528B6010130B5003608ED
:1010D0008316AE00831235088316AD008A11831281
:1010E000C72C8A150830F60077280930F600350835
:1010F000B400FA308316AE008A11831214258A15C3
:10110000000076088316AD000330AE008A1183120A
:1011100073258A150230FD00FA308316AE008A115D
:10112000831214258A15FD0B8C2876088316AD00D2
:10113000AE018A11831273258A150000F501F401AE
:101140002F13AF13F301F201DC01AF112F12AF1215
:10115000D1018A11B12D8A150000F408031DB328AE
:10116000F5080319BA28F408031DDF287508803C28
:10117000031DDF28740875040319CF288316AD01F9
:101180000330AE008A11831273258A15013083164D
:10119000AD00AE018A11831273258A15DF288316EC
:1011A000AD01AE018A11831273258A1501308316B1
:1011B000AD000330AE008A11831273258A15F40A3C
:1011C0000319F50A2F1E2329CC1FEB284C081F39C1
:1011D000F800EF28EF284C087F39F800EF2878084E
:1011E00006308316AD000330AE008A1183127325DA
:1011F0008A15D1018A11B42D8A15FD017D088A1145
:1012000037208A15003803191229FD0A8316AE000B
:1012100083125108D10A523E840083162E088000A2
:101220008312FE288A11CC2D8A1506308316AD0054
:10123000AE018A11831273258A15DC01AF112F12BA
:10124000AF12D10123292F1F36292F130330831604
:10125000AD00AE008A11831273258A150330831600
:10126000AD00AE018A11831273258A15AF1F4D2977
:10127000AF13F20A0319F30A04308316AD000330EA
:10128000AE008A11831273258A1504308316AD00CF
:10129000AE018A11831273258A150000AC28630001
:0A1FE000820701340034003400349D
:02400E00023F6F
:00000001FF
;BURNTIME 000FF1,000FF4 BINARY NEXTFILE="SERIALS.TXT" LOG="SERIALLOG.TXT"
;PIC16F648A
Ttelmah
Guest







PostPosted: Thu Sep 07, 2006 6:47 am     Reply with quote

I am currently running 1.78, which fixed a problem I had previously suffered from with the Mach-X, rather than the latter 1.88. I wonder if the latter version actually creates the problem!...

Best Wishes
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Thu Sep 07, 2006 8:14 am     Reply with quote

I will try and contact CCS Tech Support to get a retro grade version of MachX software, ie V1.78. Hopefully they will see then sense in this.
Ttelmah
Guest







PostPosted: Thu Sep 07, 2006 9:44 am     Reply with quote

As another comment, when you originally contacted them, you should have received an automated acknowledgement, with a 'reference' number. You can email using this reference number, to find out what is going on. While not advisable after only a day or two, after several weeks, it is worth doing this, to see what on earth is going on!...

Best Wishes
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Thu Sep 07, 2006 10:17 am     Reply with quote

Tech support have offered to email me the next release which is due out tommorow. They seem to be "hoping" this will fix to the problem rather than "knowing" it will be a fix. Will let you know when I get V1.90.
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Tue Sep 12, 2006 1:48 am     Reply with quote

As suspected MachX V1.90 does not fix the #serialise programming issue. After more phone calls and emails to CCS support they now seem to accepted the problem does exist.

However they have now given it new trouble ticket no 3 weeks after I first reported it. So have I lost 3 weeks while the first trouble ticket sat in a que waiting for somebody to look at it ? Crying or Very sad
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Tue Sep 12, 2006 1:51 am     Reply with quote

Dear Ttelmah

Can you post or email the MachX V1.78 for me to try ?
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Wed Sep 13, 2006 1:13 am     Reply with quote

Fix found ! Very Happy

See http://www.ccsinfo.com/forum/viewtopic.php?p=69245#69245
Ttelmah
Guest







PostPosted: Wed Sep 13, 2006 2:34 am     Reply with quote

Sorry, I missed the earlier post asking for the older file. Hurrah!. You have a fix. Interesting, they have changed a DLL. I wonder if I may actually have a changed version (I was having a problem with MachX, and they sent me various fixes at points for my problem, and eventually it all worked).
Glad you have it working now. Smile

Best Wishes
nurquhar



Joined: 05 Aug 2006
Posts: 149
Location: Redditch, UK

View user's profile Send private message Visit poster's website

PostPosted: Wed Sep 13, 2006 3:11 am     Reply with quote

Dear Ttelmah
Using guess work I think ccsicdu.dll is part of the driver interface to the MachX, possibly the CCS ICD debuggers too. The dll version given to me has an older version number, 1.0.0. Are you asking to try this new dll to fix your problem ? If so you will need give me a means of sending it to you.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group