CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > PIC Programing / Design


PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-07-2008, 07:41 AM
 
Join Date: Aug 2008
Location: Ireland
Posts: 3
d_mc_a is on a distinguished road
help reading a 16C621A..

Hi,

I'm a bit of a amateur when it comes to PIC programmer. I'll explain my situation. I have a CCTV system at home with 2 x 4 channel Video capture cards. Its a PC based CCTV system running windows XP and a simple video server that is recording 6 camera inputs from around my house. It's a little bit dated and hardware has been swapped and upgraded many times in it. My problem is that on of the camera's was recently struck by lightning and it fried one of the video capture cards along with a few other things. I eventually managed to replace all the damaged hardware as well as the video capture card but the software I'm using doesn't allow me to use the new card. I've noticed a removable PIC ( 16C621A ) on the working card that is not present on the new card. I imagine this PIC contains some kind of Identification info for the software running on the PC so I planned on buying a PIC programmer that would allow me to read the working chip and write it to a blank chip of the same type. I tried swapping in the old, damaged cards PIC but is clearly not working. I bought a couple of blank 16C621A's and also a K150 USB PIC Programmer.

I have managed to install the programmer on a PC here and it is detected perfectly by the MicroPro programming software when I try to read from the original chip, it returns all zero's and the read data. All I am doing is plugging the PIC into the 40 pin interface on the programmer in the correct location and orientation.

Is there any PIC guru here that would be nice enough to help?


Thanks,
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-08-2008, 01:14 AM
 
Join Date: Sep 2004
Location: Thailand
Posts: 6
meo_udon is on a distinguished road

That chip has code protection bits set. It hard to read but in the China can read it. Only 1% to read it.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-11-2008, 04:55 AM
 
Join Date: Aug 2008
Location: Ireland
Posts: 3
d_mc_a is on a distinguished road
Unhappy

Ok, thanks for the info. I guess I'll have to try and source the chips somewhere else.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-21-2008, 09:36 AM
 
Join Date: Aug 2008
Location: Ireland
Posts: 3
d_mc_a is on a distinguished road

Its been a while but I've only started looking at this again recently since I now have access to my college resources. I bought a number of blank 16C621A chips and attempted to read the eeprom using a programmer that I have access to in the college. It appears to read correctly but the data that is read appears to be far to small to be correct. I flashed the read data to one the blank chips and they both itslef and the original appear identical but the new eeprom doesn't work. Clearly you are correct about the protection bits. I'm just bumping the thread to see if anyone else has any info on how I could bypass this read protection.

Thanks,
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 01-24-2009, 11:00 AM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

You might want to make sure the configuration bits are set correctly for the pic. Also, the pic that you read from, might be using the internal oscilator which means it might have to be properly trimmed to make it run at 4mhz or whatever internal clock rate the thing is running at. Depending on what the pic is doing in the system, the code may not be very large at all, a few hundred bytes or less.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reading v20 files in 2007 Redwon BobCad-Cam 3 11-06-2007 10:20 AM
reading modbus inputs howling60 Mach Software (ArtSoft software) 1 04-17-2007 08:41 AM
problem with cnc reading bob/cad OR something jr2840 Bridgeport and Hardinge Mills 4 09-08-2006 12:28 PM
Reading only new posts PEU Forum Questions or Problems 1 06-04-2005 11:22 PM
CNC recommended reading? margni74 General Metal Working Machines 7 12-29-2003 10:28 PM




All times are GMT -5. The time now is 06:08 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353