A9VG电玩部落论坛

 找回密码
 注册
搜索
查看: 4767|回复: 16

[硬件] [硬件]市场价35元成本自制破解狗

[复制链接]

精华
1
帖子
154
威望
1 点
积分
186 点
种子
0 点
注册时间
2009-3-15
最后登录
2016-12-1
 楼主| 发表于 2010-9-29 12:52  ·  浙江 | 显示全部楼层 |阅读模式
pic芯片上上周开始就难以买到,只好另寻它法自制。期间还好有老外把psgroove移植到了Arduino的板子上,好让我们方便地进行再次移植,成本35元(不含邮费),有兴趣的可以参考。

1,现成的USBasp线路板焊接成品,有mcu插座的那种,淘宝价5元


2,8位mcu芯片atmega328p或者atmega168(p),目前淘宝价20-30元,我买了个atmega328p

自制过程:

这是原版USBasp的电路图,为做破解,有一个地方需要改动,将R3一头从连接USB1脚(Vcc+5V)处断开,连接到mcu芯片的6脚(XCK/T0)处。实际改动的时候其实可以将原来的电阻R3直接去掉,重新从USB2脚(D-)处连接一个1.5K~2.2K的电阻到芯片的6脚。注意原版电路图标示的元件序号不一定和买到的线路板上标示的元件序号完全对应,需要自己测试确认下到底哪个是R3,反正就在USB插座附近。

硬件部分就是这样,只改个电阻就够了。

插上芯片,合上J2,用另外一个USBasp编程器(我以前就有,淘宝价全贴片的最低15)把固件刷上去就好了,当然也可以刷个bootloader。

自己现在用的是atmega328p
http://koro.3322.org:8081/han/tmp/psgroove_atmega328p_usbasp.rar.
hdk

精华
0
帖子
1081
威望
0 点
积分
1438 点
种子
5 点
注册时间
2004-7-21
最后登录
2018-2-20
发表于 2010-9-29 13:01  ·  浙江 | 显示全部楼层
来拜技术帝.
支持分享

精华
0
帖子
994
威望
0 点
积分
1006 点
种子
5 点
注册时间
2008-9-6
最后登录
2019-7-2
发表于 2010-9-29 13:45  ·  广东 | 显示全部楼层
楼主有壳子没有?

精华
0
帖子
448
威望
0 点
积分
497 点
种子
0 点
注册时间
2010-6-8
最后登录
2022-12-16
发表于 2010-9-29 13:46  ·  北京 | 显示全部楼层
DIY的,壳子估计拆个U盘

偶的18F4550套也是35搞定,不过确实现在市场没货了

精华
3
帖子
1099
威望
9 点
积分
1351 点
种子
5 点
注册时间
2005-5-9
最后登录
2020-4-9
发表于 2010-9-29 13:51  ·  澳大利亚 | 显示全部楼层
这个不错,atmega32/168(p)/328(p)/1280都能行,不过编译的时候要正确设置针脚和fuse;

这usbasp的电路图上已经有稳压二极管应该不错,要是哪个板子没稳压二极管的记得加上来增加稳定性和保护电路

3.6v的即可


denimjeans的说明,使用Timwu移植到v-usb上的psgroove
denimjeans2007 | September 25, 2010
schematic (new, with zener diodes):
http://img22.imagevenue.com/img.php?i...

ugly result :) :
http://img215.imagevenue.com/img.php?...

Finnaly it's working on a simple atmega, no special board required, only about 7?for all required parts ;-).

get sources from :
http://github.com/timwu/psgroove

get hex file (BM disabled) here soon...

atmega32 fuse bits: high=d1 low=bf
(it's maybe not required to disable jtag flag which the above setting does)



then make following changes:


-D = portd3
+D = portd4
Int = portd2
Leds = portc2,3


here is the config.h

#define USB_CFG_IOPORTNAME D
#define USB_CFG_DMINUS_BIT 3
#define USB_CFG_DPLUS_BIT 4
#define USB_CFG_PULLUP_IOPORTNAME D
#define USB_CFG_PULLUP_BIT 2
#define GREEN_LED_PORT C
#define RED_LED_PORT C
#define GREEN_BIT 2
#define RED_BIT 3
#endif // _PIN_CONFIG_H_


-----------

psgroove.c
you need to change to following:

//clock_prescale_set(clock_div_1);

/* Setup timer */
TCCR1B = 0x03; /* timer rate clk/64 */
TIMSK = 0x04;


good luck

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!


thanks to timwu for his great work and the psgroove team :)

This stuff is not intended to enable piracy. Just for the execution of unsigned
third-party apps and games on the PS3.

[quote]Gents! Finnaly I got it working on a simple atmega32 (without USB support, using timwu / psgroove) :)

checkout the *** video :)
http://www.***.com/watch?v=0rY8f1HmuGk

here is the config.h
#define USB_CFG_IOPORTNAME D
/* This is the port where the USB bus is connected. When you configure it to
* “B”, the registers PORTB, PINB and DDRB will be used.
*/
#define USB_CFG_DMINUS_BIT 3
/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.
* This may be any bit in the port.
*/
#define USB_CFG_DPLUS_BIT 4
/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.
* This may be any bit in the port. Please note that D+ must also be connected
* to interrupt pin INT0! [You can also use other interrupts, see section
* "Optional MCU Description" below, or you can connect D- to the interrupt, as
* it is required if you use the USB_COUNT_SOF feature. If you use D- for the
* interrupt, the USB interrupt will also be triggered at Start-Of-Frame
* markers every millisecond.]
*/

/* ———————– Optional Hardware Config ———————— */

#define USB_CFG_PULLUP_IOPORTNAME D
/* If you connect the 1.5k pullup resistor from D- to a port pin instead of
* V+, you can connect and disconnect the device from firmware by calling
* the macros usbDeviceConnect() and usbDeviceDisconnect() (see usbdrv.h).
* This constant defines the port on which the pullup resistor is connected.
*/
#define USB_CFG_PULLUP_BIT 2
/* This constant defines the bit number in USB_CFG_PULLUP_IOPORT (defined
* above) where the 1.5k pullup resistor is connected. See description
* above for details.
*/

/* ———————– Optional MCU Description ———————— */

/* The following configurations have working defaults in usbdrv.h. You
* usually don’t need to set them explicitly. Only if you want to run
* the driver on a device which is not yet supported or with a compiler
* which is not fully supported (such as IAR C) or if you use a differnt
* interrupt than INT0, you may have to define some of these.
*/
/* #define USB_INTR_CFG MCUCR */
/* #define USB_INTR_CFG_SET ((1

精华
0
帖子
419
威望
0 点
积分
433 点
种子
0 点
注册时间
2009-2-13
最后登录
2021-7-28
发表于 2010-9-29 14:19  ·  河北 | 显示全部楼层
全套材料在哪里买的,求链接和教程

精华
0
帖子
160
威望
0 点
积分
174 点
种子
18 点
注册时间
2005-8-22
最后登录
2021-7-24
发表于 2010-9-29 15:00  ·  广东 | 显示全部楼层
这款自制狗算是最好看的狗了。。。

精华
0
帖子
2366
威望
0 点
积分
2488 点
种子
0 点
注册时间
2005-2-15
最后登录
2014-11-6
发表于 2010-9-29 15:03  ·  江苏 | 显示全部楼层
我就是这种狗……
该用户已被禁言

精华
0
帖子
68
威望
0 点
积分
69 点
种子
0 点
注册时间
2010-9-9
最后登录
2023-12-11
发表于 2010-9-29 15:03  ·  上海 | 显示全部楼层
我买的是人家做好的,和你的差不多,连邮费91元。没办法,没有烧录器
该用户已被禁言

精华
0
帖子
67
威望
0 点
积分
73 点
种子
0 点
注册时间
2006-5-21
最后登录
2017-4-29
发表于 2010-9-29 15:07  ·  江苏 | 显示全部楼层
有人弄个51单片机的就好了,64KB的够用了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|A9VG电玩部落 川公网安备 51019002005286号

GMT+8, 2024-5-23 17:23 , Processed in 0.242969 second(s), 26 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部